﻿using System;
using System.CodeDom.Compiler;
using System.Collections;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Data;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;

[Serializable, XmlRoot("IP"), HelpKeyword("vs.data.DataSet"), ToolboxItem(true), GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), XmlSchemaProvider("GetTypedDataSetSchema"), DesignerCategory("code")]
public class IP : DataSet
{
    private System.Data.SchemaSerializationMode _schemaSerializationMode;
    private DataRelation relationFK_DocumentType_DocumentSection;
    private DataRelation relationFK_Product_ProjectGroup;
    private DataRelation relationFK_ProductProject_Product;
    private DataRelation relationFK_ProductProject_Project;
    private DataRelation relationFK_ProductProject_Project1;
    private DataRelation relationFK_Project_Agent;
    private DataRelation relationFK_Project_Agent1;
    private DataRelation relationFK_ProjectDocument_Project;
    private DataRelation relationFK_ProjectDocument_Project1;
    private DataRelation relationFK_ProjectExpenses_Project;
    private DataRelation relationFK_ProjectExpenses_Project1;
    private DataRelation relationFK_ProjectResponsiblePerson_Project;
    private DataRelation relationFK_ProjectResponsiblePerson_Project1;
    private AgentDataTable tableAgent;
    private aspnet_UsersDataTable tableaspnet_Users;
    private ClientDataTable tableClient;
    private CodeDataTable tableCode;
    private CountryDataTable tableCountry;
    private DocumentSectionDataTable tableDocumentSection;
    private DocumentTypeDataTable tableDocumentType;
    private dtRespPersonsFromUsersDataTable tabledtRespPersonsFromUsers;
    private GetProductSearchSpDataTable tableGetProductSearchSp;
    private GetReminder2SpDataTable tableGetReminder2Sp;
    private GetReminderSpDataTable tableGetReminderSp;
    private HeadingSetDataTable tableHeadingSet;
    private HeadingSetTemplateDataTable tableHeadingSetTemplate;
    private HeadingTemplateDataTable tableHeadingTemplate;
    private PagesDataTable tablePages;
    private ProductDataTable tableProduct;
    private ProductProjectDataTable tableProductProject;
    private ProjectDataTable tableProject;
    private ProjectClassDataTable tableProjectClass;
    private ProjectDistinctPGIDataTable tableProjectDistinctPGI;
    private ProjectDocumentDataTable tableProjectDocument;
    private ProjectExpensesDataTable tableProjectExpenses;
    private ProjectGroupDataTable tableProjectGroup;
    private ProjectHeadingDataTable tableProjectHeading;
    private ProjectNotAssignedYetDataTable tableProjectNotAssignedYet;
    private ProjectSupervisorDataTable tableProjectSupervisor;
    private SearchProjectDataTable tableSearchProject;
    private SystemSettingDataTable tableSystemSetting;
    private UserPagesDataTable tableUserPages;

    /*[DebuggerNonUserCode]*/
    public IP()
    {
        this._schemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
        base.BeginInit();
        this.InitClass();
        CollectionChangeEventHandler schemaChangedHandler = new CollectionChangeEventHandler(this.SchemaChanged);
        base.Tables.CollectionChanged += schemaChangedHandler;
        base.Relations.CollectionChanged += schemaChangedHandler;
        base.EndInit();
    }

    ///*[DebuggerNonUserCode]*/
    protected IP(SerializationInfo info, StreamingContext context) : base(info, context, false)
    {
        this._schemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
        if (base.IsBinarySerialized(info, context))
        {
            this.InitVars(false);
            CollectionChangeEventHandler schemaChangedHandler1 = new CollectionChangeEventHandler(this.SchemaChanged);
            this.Tables.CollectionChanged += schemaChangedHandler1;
            this.Relations.CollectionChanged += schemaChangedHandler1;
        }
        else
        {
            string strSchema = (string) info.GetValue("XmlSchema", typeof(string));
            if (base.DetermineSchemaSerializationMode(info, context) == System.Data.SchemaSerializationMode.IncludeSchema)
            {
                DataSet ds = new DataSet();
                ds.ReadXmlSchema(new XmlTextReader(new StringReader(strSchema)));
                if (ds.Tables["Project"] != null)
                {
                    base.Tables.Add(new ProjectDataTable(ds.Tables["Project"]));
                }
                if (ds.Tables["ProjectHeading"] != null)
                {
                    base.Tables.Add(new ProjectHeadingDataTable(ds.Tables["ProjectHeading"]));
                }
                if (ds.Tables["aspnet_Users"] != null)
                {
                    base.Tables.Add(new aspnet_UsersDataTable(ds.Tables["aspnet_Users"]));
                }
                if (ds.Tables["UserPages"] != null)
                {
                    base.Tables.Add(new UserPagesDataTable(ds.Tables["UserPages"]));
                }
                if (ds.Tables["Pages"] != null)
                {
                    base.Tables.Add(new PagesDataTable(ds.Tables["Pages"]));
                }
                if (ds.Tables["Product"] != null)
                {
                    base.Tables.Add(new ProductDataTable(ds.Tables["Product"]));
                }
                if (ds.Tables["Code"] != null)
                {
                    base.Tables.Add(new CodeDataTable(ds.Tables["Code"]));
                }
                if (ds.Tables["ProjectDistinctPGI"] != null)
                {
                    base.Tables.Add(new ProjectDistinctPGIDataTable(ds.Tables["ProjectDistinctPGI"]));
                }
                if (ds.Tables["GetReminderSp"] != null)
                {
                    base.Tables.Add(new GetReminderSpDataTable(ds.Tables["GetReminderSp"]));
                }
                if (ds.Tables["Agent"] != null)
                {
                    base.Tables.Add(new AgentDataTable(ds.Tables["Agent"]));
                }
                if (ds.Tables["Country"] != null)
                {
                    base.Tables.Add(new CountryDataTable(ds.Tables["Country"]));
                }
                if (ds.Tables["DocumentSection"] != null)
                {
                    base.Tables.Add(new DocumentSectionDataTable(ds.Tables["DocumentSection"]));
                }
                if (ds.Tables["DocumentType"] != null)
                {
                    base.Tables.Add(new DocumentTypeDataTable(ds.Tables["DocumentType"]));
                }
                if (ds.Tables["HeadingSet"] != null)
                {
                    base.Tables.Add(new HeadingSetDataTable(ds.Tables["HeadingSet"]));
                }
                if (ds.Tables["HeadingTemplate"] != null)
                {
                    base.Tables.Add(new HeadingTemplateDataTable(ds.Tables["HeadingTemplate"]));
                }
                if (ds.Tables["HeadingSetTemplate"] != null)
                {
                    base.Tables.Add(new HeadingSetTemplateDataTable(ds.Tables["HeadingSetTemplate"]));
                }
                if (ds.Tables["SystemSetting"] != null)
                {
                    base.Tables.Add(new SystemSettingDataTable(ds.Tables["SystemSetting"]));
                }
                if (ds.Tables["ProjectSupervisor"] != null)
                {
                    base.Tables.Add(new ProjectSupervisorDataTable(ds.Tables["ProjectSupervisor"]));
                }
                if (ds.Tables["dtRespPersonsFromUsers"] != null)
                {
                    base.Tables.Add(new dtRespPersonsFromUsersDataTable(ds.Tables["dtRespPersonsFromUsers"]));
                }
                if (ds.Tables["ProductProject"] != null)
                {
                    base.Tables.Add(new ProductProjectDataTable(ds.Tables["ProductProject"]));
                }
                if (ds.Tables["GetProductSearchSp"] != null)
                {
                    base.Tables.Add(new GetProductSearchSpDataTable(ds.Tables["GetProductSearchSp"]));
                }
                if (ds.Tables["ProjectNotAssignedYet"] != null)
                {
                    base.Tables.Add(new ProjectNotAssignedYetDataTable(ds.Tables["ProjectNotAssignedYet"]));
                }
                if (ds.Tables["SearchProject"] != null)
                {
                    base.Tables.Add(new SearchProjectDataTable(ds.Tables["SearchProject"]));
                }
                if (ds.Tables["ProjectDocument"] != null)
                {
                    base.Tables.Add(new ProjectDocumentDataTable(ds.Tables["ProjectDocument"]));
                }
                if (ds.Tables["Client"] != null)
                {
                    base.Tables.Add(new ClientDataTable(ds.Tables["Client"]));
                }
                if (ds.Tables["ProjectGroup"] != null)
                {
                    base.Tables.Add(new ProjectGroupDataTable(ds.Tables["ProjectGroup"]));
                }
                if (ds.Tables["GetReminder2Sp"] != null)
                {
                    base.Tables.Add(new GetReminder2SpDataTable(ds.Tables["GetReminder2Sp"]));
                }
                if (ds.Tables["ProjectExpenses"] != null)
                {
                    base.Tables.Add(new ProjectExpensesDataTable(ds.Tables["ProjectExpenses"]));
                }
                if (ds.Tables["ProjectClass"] != null)
                {
                    base.Tables.Add(new ProjectClassDataTable(ds.Tables["ProjectClass"]));
                }
                base.DataSetName = ds.DataSetName;
                base.Prefix = ds.Prefix;
                base.Namespace = ds.Namespace;
                base.Locale = ds.Locale;
                base.CaseSensitive = ds.CaseSensitive;
                base.EnforceConstraints = ds.EnforceConstraints;
                base.Merge(ds, false, MissingSchemaAction.Add);
                this.InitVars();
            }
            else
            {
                base.ReadXmlSchema(new XmlTextReader(new StringReader(strSchema)));
            }
            base.GetSerializationData(info, context);
            CollectionChangeEventHandler schemaChangedHandler = new CollectionChangeEventHandler(this.SchemaChanged);
            base.Tables.CollectionChanged += schemaChangedHandler;
            this.Relations.CollectionChanged += schemaChangedHandler;
        }
    }

    /*[DebuggerNonUserCode]*/
    public override DataSet Clone()
    {
        IP cln = (IP) base.Clone();
        cln.InitVars();
        cln.SchemaSerializationMode = this.SchemaSerializationMode;
        return cln;
    }

    /*[DebuggerNonUserCode]*/
    protected override XmlSchema GetSchemaSerializable()
    {
        MemoryStream stream = new MemoryStream();
        base.WriteXmlSchema(new XmlTextWriter(stream, null));
        stream.Position = 0L;
        return XmlSchema.Read(new XmlTextReader(stream), null);
    }

    /*[DebuggerNonUserCode]*/
    public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
    {
        IP ds = new IP();
        XmlSchemaComplexType type = new XmlSchemaComplexType();
        XmlSchemaSequence sequence = new XmlSchemaSequence();
        xs.Add(ds.GetSchemaSerializable());
        XmlSchemaAny any = new XmlSchemaAny();
        any.Namespace = ds.Namespace;
        sequence.Items.Add(any);
        type.Particle = sequence;
        return type;
    }

    /*[DebuggerNonUserCode]*/
    private void InitClass()
    {
        base.DataSetName = "IP";
        base.Prefix = "";
        base.Namespace = "http://tempuri.org/IP.xsd";
        base.EnforceConstraints = true;
        this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
        this.tableProject = new ProjectDataTable();
        base.Tables.Add(this.tableProject);
        this.tableProjectHeading = new ProjectHeadingDataTable();
        base.Tables.Add(this.tableProjectHeading);
        this.tableaspnet_Users = new aspnet_UsersDataTable();
        base.Tables.Add(this.tableaspnet_Users);
        this.tableUserPages = new UserPagesDataTable();
        base.Tables.Add(this.tableUserPages);
        this.tablePages = new PagesDataTable();
        base.Tables.Add(this.tablePages);
        this.tableProduct = new ProductDataTable();
        base.Tables.Add(this.tableProduct);
        this.tableCode = new CodeDataTable();
        base.Tables.Add(this.tableCode);
        this.tableProjectDistinctPGI = new ProjectDistinctPGIDataTable();
        base.Tables.Add(this.tableProjectDistinctPGI);
        this.tableGetReminderSp = new GetReminderSpDataTable();
        base.Tables.Add(this.tableGetReminderSp);
        this.tableAgent = new AgentDataTable();
        base.Tables.Add(this.tableAgent);
        this.tableCountry = new CountryDataTable();
        base.Tables.Add(this.tableCountry);
        this.tableDocumentSection = new DocumentSectionDataTable();
        base.Tables.Add(this.tableDocumentSection);
        this.tableDocumentType = new DocumentTypeDataTable();
        base.Tables.Add(this.tableDocumentType);
        this.tableHeadingSet = new HeadingSetDataTable();
        base.Tables.Add(this.tableHeadingSet);
        this.tableHeadingTemplate = new HeadingTemplateDataTable();
        base.Tables.Add(this.tableHeadingTemplate);
        this.tableHeadingSetTemplate = new HeadingSetTemplateDataTable();
        base.Tables.Add(this.tableHeadingSetTemplate);
        this.tableSystemSetting = new SystemSettingDataTable();
        base.Tables.Add(this.tableSystemSetting);
        this.tableProjectSupervisor = new ProjectSupervisorDataTable();
        base.Tables.Add(this.tableProjectSupervisor);
        this.tabledtRespPersonsFromUsers = new dtRespPersonsFromUsersDataTable();
        base.Tables.Add(this.tabledtRespPersonsFromUsers);
        this.tableProductProject = new ProductProjectDataTable();
        base.Tables.Add(this.tableProductProject);
        this.tableGetProductSearchSp = new GetProductSearchSpDataTable();
        base.Tables.Add(this.tableGetProductSearchSp);
        this.tableProjectNotAssignedYet = new ProjectNotAssignedYetDataTable();
        base.Tables.Add(this.tableProjectNotAssignedYet);
        this.tableSearchProject = new SearchProjectDataTable();
        base.Tables.Add(this.tableSearchProject);
        this.tableProjectDocument = new ProjectDocumentDataTable();
        base.Tables.Add(this.tableProjectDocument);
        this.tableClient = new ClientDataTable();
        base.Tables.Add(this.tableClient);
        this.tableProjectGroup = new ProjectGroupDataTable();
        base.Tables.Add(this.tableProjectGroup);
        this.tableGetReminder2Sp = new GetReminder2SpDataTable();
        base.Tables.Add(this.tableGetReminder2Sp);
        this.tableProjectExpenses = new ProjectExpensesDataTable();
        base.Tables.Add(this.tableProjectExpenses);
        this.tableProjectClass = new ProjectClassDataTable();
        base.Tables.Add(this.tableProjectClass);
        this.relationFK_Project_Agent = new DataRelation("FK_Project_Agent", new DataColumn[] { this.tableAgent.AgentColumn }, new DataColumn[] { this.tableProject.AgentColumn }, false);
        this.Relations.Add(this.relationFK_Project_Agent);
        this.relationFK_DocumentType_DocumentSection = new DataRelation("FK_DocumentType_DocumentSection", new DataColumn[] { this.tableDocumentSection.SectionColumn }, new DataColumn[] { this.tableDocumentType.SectionColumn }, false);
        this.Relations.Add(this.relationFK_DocumentType_DocumentSection);
        this.relationFK_ProjectResponsiblePerson_Project = new DataRelation("FK_ProjectResponsiblePerson_Project", new DataColumn[] { this.tableProject.ProjectCodeColumn }, new DataColumn[] { this.tableProjectSupervisor.ProjectCodeColumn }, false);
        this.Relations.Add(this.relationFK_ProjectResponsiblePerson_Project);
        this.relationFK_ProductProject_Product = new DataRelation("FK_ProductProject_Product", new DataColumn[] { this.tableProduct.ModelColumn }, new DataColumn[] { this.tableProductProject.ModelColumn }, false);
        this.Relations.Add(this.relationFK_ProductProject_Product);
        this.relationFK_ProductProject_Project = new DataRelation("FK_ProductProject_Project", new DataColumn[] { this.tableProject.ProjectCodeColumn }, new DataColumn[] { this.tableProductProject.ProjectCodeColumn }, false);
        this.Relations.Add(this.relationFK_ProductProject_Project);
        this.relationFK_Project_Agent1 = new DataRelation("FK_Project_Agent1", new DataColumn[] { this.tableAgent.AgentColumn }, new DataColumn[] { this.tableSearchProject.AgentColumn }, false);
        this.Relations.Add(this.relationFK_Project_Agent1);
        this.relationFK_ProjectDocument_Project = new DataRelation("FK_ProjectDocument_Project", new DataColumn[] { this.tableProject.ProjectCodeColumn }, new DataColumn[] { this.tableProjectDocument.ProjectCodeColumn }, false);
        this.Relations.Add(this.relationFK_ProjectDocument_Project);
        this.relationFK_Product_ProjectGroup = new DataRelation("FK_Product_ProjectGroup", new DataColumn[] { this.tableProjectGroup.ProjectGroupIDColumn }, new DataColumn[] { this.tableProduct.ProjectGroupIDColumn }, false);
        this.Relations.Add(this.relationFK_Product_ProjectGroup);
        this.relationFK_ProjectResponsiblePerson_Project1 = new DataRelation("FK_ProjectResponsiblePerson_Project1", new DataColumn[] { this.tableGetReminder2Sp.ProjectCodeColumn }, new DataColumn[] { this.tableProjectSupervisor.ProjectCodeColumn }, false);
        this.Relations.Add(this.relationFK_ProjectResponsiblePerson_Project1);
        this.relationFK_ProductProject_Project1 = new DataRelation("FK_ProductProject_Project1", new DataColumn[] { this.tableGetReminder2Sp.ProjectCodeColumn }, new DataColumn[] { this.tableProductProject.ProjectCodeColumn }, false);
        this.Relations.Add(this.relationFK_ProductProject_Project1);
        this.relationFK_ProjectDocument_Project1 = new DataRelation("FK_ProjectDocument_Project1", new DataColumn[] { this.tableGetReminder2Sp.ProjectCodeColumn }, new DataColumn[] { this.tableProjectDocument.ProjectCodeColumn }, false);
        this.Relations.Add(this.relationFK_ProjectDocument_Project1);
        this.relationFK_ProjectExpenses_Project = new DataRelation("FK_ProjectExpenses_Project", new DataColumn[] { this.tableProjectNotAssignedYet.ProjectCodeColumn }, new DataColumn[] { this.tableProjectExpenses.ProjectCodeColumn }, false);
        this.Relations.Add(this.relationFK_ProjectExpenses_Project);
        this.relationFK_ProjectExpenses_Project1 = new DataRelation("FK_ProjectExpenses_Project1", new DataColumn[] { this.tableGetReminder2Sp.ProjectCodeColumn }, new DataColumn[] { this.tableProjectExpenses.ProjectCodeColumn }, false);
        this.Relations.Add(this.relationFK_ProjectExpenses_Project1);
    }

    /*[DebuggerNonUserCode]*/
    protected override void InitializeDerivedDataSet()
    {
        base.BeginInit();
        this.InitClass();
        base.EndInit();
    }

    /*[DebuggerNonUserCode]*/
    internal void InitVars()
    {
        this.InitVars(true);
    }

    /*[DebuggerNonUserCode]*/
    internal void InitVars(bool initTable)
    {
        this.tableProject = (ProjectDataTable) base.Tables["Project"];
        if (initTable && (this.tableProject != null))
        {
            this.tableProject.InitVars();
        }
        this.tableProjectHeading = (ProjectHeadingDataTable) base.Tables["ProjectHeading"];
        if (initTable && (this.tableProjectHeading != null))
        {
            this.tableProjectHeading.InitVars();
        }
        this.tableaspnet_Users = (aspnet_UsersDataTable) base.Tables["aspnet_Users"];
        if (initTable && (this.tableaspnet_Users != null))
        {
            this.tableaspnet_Users.InitVars();
        }
        this.tableUserPages = (UserPagesDataTable) base.Tables["UserPages"];
        if (initTable && (this.tableUserPages != null))
        {
            this.tableUserPages.InitVars();
        }
        this.tablePages = (PagesDataTable) base.Tables["Pages"];
        if (initTable && (this.tablePages != null))
        {
            this.tablePages.InitVars();
        }
        this.tableProduct = (ProductDataTable) base.Tables["Product"];
        if (initTable && (this.tableProduct != null))
        {
            this.tableProduct.InitVars();
        }
        this.tableCode = (CodeDataTable) base.Tables["Code"];
        if (initTable && (this.tableCode != null))
        {
            this.tableCode.InitVars();
        }
        this.tableProjectDistinctPGI = (ProjectDistinctPGIDataTable) base.Tables["ProjectDistinctPGI"];
        if (initTable && (this.tableProjectDistinctPGI != null))
        {
            this.tableProjectDistinctPGI.InitVars();
        }
        this.tableGetReminderSp = (GetReminderSpDataTable) base.Tables["GetReminderSp"];
        if (initTable && (this.tableGetReminderSp != null))
        {
            this.tableGetReminderSp.InitVars();
        }
        this.tableAgent = (AgentDataTable) base.Tables["Agent"];
        if (initTable && (this.tableAgent != null))
        {
            this.tableAgent.InitVars();
        }
        this.tableCountry = (CountryDataTable) base.Tables["Country"];
        if (initTable && (this.tableCountry != null))
        {
            this.tableCountry.InitVars();
        }
        this.tableDocumentSection = (DocumentSectionDataTable) base.Tables["DocumentSection"];
        if (initTable && (this.tableDocumentSection != null))
        {
            this.tableDocumentSection.InitVars();
        }
        this.tableDocumentType = (DocumentTypeDataTable) base.Tables["DocumentType"];
        if (initTable && (this.tableDocumentType != null))
        {
            this.tableDocumentType.InitVars();
        }
        this.tableHeadingSet = (HeadingSetDataTable) base.Tables["HeadingSet"];
        if (initTable && (this.tableHeadingSet != null))
        {
            this.tableHeadingSet.InitVars();
        }
        this.tableHeadingTemplate = (HeadingTemplateDataTable) base.Tables["HeadingTemplate"];
        if (initTable && (this.tableHeadingTemplate != null))
        {
            this.tableHeadingTemplate.InitVars();
        }
        this.tableHeadingSetTemplate = (HeadingSetTemplateDataTable) base.Tables["HeadingSetTemplate"];
        if (initTable && (this.tableHeadingSetTemplate != null))
        {
            this.tableHeadingSetTemplate.InitVars();
        }
        this.tableSystemSetting = (SystemSettingDataTable) base.Tables["SystemSetting"];
        if (initTable && (this.tableSystemSetting != null))
        {
            this.tableSystemSetting.InitVars();
        }
        this.tableProjectSupervisor = (ProjectSupervisorDataTable) base.Tables["ProjectSupervisor"];
        if (initTable && (this.tableProjectSupervisor != null))
        {
            this.tableProjectSupervisor.InitVars();
        }
        this.tabledtRespPersonsFromUsers = (dtRespPersonsFromUsersDataTable) base.Tables["dtRespPersonsFromUsers"];
        if (initTable && (this.tabledtRespPersonsFromUsers != null))
        {
            this.tabledtRespPersonsFromUsers.InitVars();
        }
        this.tableProductProject = (ProductProjectDataTable) base.Tables["ProductProject"];
        if (initTable && (this.tableProductProject != null))
        {
            this.tableProductProject.InitVars();
        }
        this.tableGetProductSearchSp = (GetProductSearchSpDataTable) base.Tables["GetProductSearchSp"];
        if (initTable && (this.tableGetProductSearchSp != null))
        {
            this.tableGetProductSearchSp.InitVars();
        }
        this.tableProjectNotAssignedYet = (ProjectNotAssignedYetDataTable) base.Tables["ProjectNotAssignedYet"];
        if (initTable && (this.tableProjectNotAssignedYet != null))
        {
            this.tableProjectNotAssignedYet.InitVars();
        }
        this.tableSearchProject = (SearchProjectDataTable) base.Tables["SearchProject"];
        if (initTable && (this.tableSearchProject != null))
        {
            this.tableSearchProject.InitVars();
        }
        this.tableProjectDocument = (ProjectDocumentDataTable) base.Tables["ProjectDocument"];
        if (initTable && (this.tableProjectDocument != null))
        {
            this.tableProjectDocument.InitVars();
        }
        this.tableClient = (ClientDataTable) base.Tables["Client"];
        if (initTable && (this.tableClient != null))
        {
            this.tableClient.InitVars();
        }
        this.tableProjectGroup = (ProjectGroupDataTable) base.Tables["ProjectGroup"];
        if (initTable && (this.tableProjectGroup != null))
        {
            this.tableProjectGroup.InitVars();
        }
        this.tableGetReminder2Sp = (GetReminder2SpDataTable) base.Tables["GetReminder2Sp"];
        if (initTable && (this.tableGetReminder2Sp != null))
        {
            this.tableGetReminder2Sp.InitVars();
        }
        this.tableProjectExpenses = (ProjectExpensesDataTable) base.Tables["ProjectExpenses"];
        if (initTable && (this.tableProjectExpenses != null))
        {
            this.tableProjectExpenses.InitVars();
        }
        this.tableProjectClass = (ProjectClassDataTable) base.Tables["ProjectClass"];
        if (initTable && (this.tableProjectClass != null))
        {
            this.tableProjectClass.InitVars();
        }
        this.relationFK_Project_Agent = this.Relations["FK_Project_Agent"];
        this.relationFK_DocumentType_DocumentSection = this.Relations["FK_DocumentType_DocumentSection"];
        this.relationFK_ProjectResponsiblePerson_Project = this.Relations["FK_ProjectResponsiblePerson_Project"];
        this.relationFK_ProductProject_Product = this.Relations["FK_ProductProject_Product"];
        this.relationFK_ProductProject_Project = this.Relations["FK_ProductProject_Project"];
        this.relationFK_Project_Agent1 = this.Relations["FK_Project_Agent1"];
        this.relationFK_ProjectDocument_Project = this.Relations["FK_ProjectDocument_Project"];
        this.relationFK_Product_ProjectGroup = this.Relations["FK_Product_ProjectGroup"];
        this.relationFK_ProjectResponsiblePerson_Project1 = this.Relations["FK_ProjectResponsiblePerson_Project1"];
        this.relationFK_ProductProject_Project1 = this.Relations["FK_ProductProject_Project1"];
        this.relationFK_ProjectDocument_Project1 = this.Relations["FK_ProjectDocument_Project1"];
        this.relationFK_ProjectExpenses_Project = this.Relations["FK_ProjectExpenses_Project"];
        this.relationFK_ProjectExpenses_Project1 = this.Relations["FK_ProjectExpenses_Project1"];
    }

    /*[DebuggerNonUserCode]*/
    protected override void ReadXmlSerializable(XmlReader reader)
    {
        if (base.DetermineSchemaSerializationMode(reader) == System.Data.SchemaSerializationMode.IncludeSchema)
        {
            this.Reset();
            DataSet ds = new DataSet();
            ds.ReadXml(reader);
            if (ds.Tables["Project"] != null)
            {
                base.Tables.Add(new ProjectDataTable(ds.Tables["Project"]));
            }
            if (ds.Tables["ProjectHeading"] != null)
            {
                base.Tables.Add(new ProjectHeadingDataTable(ds.Tables["ProjectHeading"]));
            }
            if (ds.Tables["aspnet_Users"] != null)
            {
                base.Tables.Add(new aspnet_UsersDataTable(ds.Tables["aspnet_Users"]));
            }
            if (ds.Tables["UserPages"] != null)
            {
                base.Tables.Add(new UserPagesDataTable(ds.Tables["UserPages"]));
            }
            if (ds.Tables["Pages"] != null)
            {
                base.Tables.Add(new PagesDataTable(ds.Tables["Pages"]));
            }
            if (ds.Tables["Product"] != null)
            {
                base.Tables.Add(new ProductDataTable(ds.Tables["Product"]));
            }
            if (ds.Tables["Code"] != null)
            {
                base.Tables.Add(new CodeDataTable(ds.Tables["Code"]));
            }
            if (ds.Tables["ProjectDistinctPGI"] != null)
            {
                base.Tables.Add(new ProjectDistinctPGIDataTable(ds.Tables["ProjectDistinctPGI"]));
            }
            if (ds.Tables["GetReminderSp"] != null)
            {
                base.Tables.Add(new GetReminderSpDataTable(ds.Tables["GetReminderSp"]));
            }
            if (ds.Tables["Agent"] != null)
            {
                base.Tables.Add(new AgentDataTable(ds.Tables["Agent"]));
            }
            if (ds.Tables["Country"] != null)
            {
                base.Tables.Add(new CountryDataTable(ds.Tables["Country"]));
            }
            if (ds.Tables["DocumentSection"] != null)
            {
                base.Tables.Add(new DocumentSectionDataTable(ds.Tables["DocumentSection"]));
            }
            if (ds.Tables["DocumentType"] != null)
            {
                base.Tables.Add(new DocumentTypeDataTable(ds.Tables["DocumentType"]));
            }
            if (ds.Tables["HeadingSet"] != null)
            {
                base.Tables.Add(new HeadingSetDataTable(ds.Tables["HeadingSet"]));
            }
            if (ds.Tables["HeadingTemplate"] != null)
            {
                base.Tables.Add(new HeadingTemplateDataTable(ds.Tables["HeadingTemplate"]));
            }
            if (ds.Tables["HeadingSetTemplate"] != null)
            {
                base.Tables.Add(new HeadingSetTemplateDataTable(ds.Tables["HeadingSetTemplate"]));
            }
            if (ds.Tables["SystemSetting"] != null)
            {
                base.Tables.Add(new SystemSettingDataTable(ds.Tables["SystemSetting"]));
            }
            if (ds.Tables["ProjectSupervisor"] != null)
            {
                base.Tables.Add(new ProjectSupervisorDataTable(ds.Tables["ProjectSupervisor"]));
            }
            if (ds.Tables["dtRespPersonsFromUsers"] != null)
            {
                base.Tables.Add(new dtRespPersonsFromUsersDataTable(ds.Tables["dtRespPersonsFromUsers"]));
            }
            if (ds.Tables["ProductProject"] != null)
            {
                base.Tables.Add(new ProductProjectDataTable(ds.Tables["ProductProject"]));
            }
            if (ds.Tables["GetProductSearchSp"] != null)
            {
                base.Tables.Add(new GetProductSearchSpDataTable(ds.Tables["GetProductSearchSp"]));
            }
            if (ds.Tables["ProjectNotAssignedYet"] != null)
            {
                base.Tables.Add(new ProjectNotAssignedYetDataTable(ds.Tables["ProjectNotAssignedYet"]));
            }
            if (ds.Tables["SearchProject"] != null)
            {
                base.Tables.Add(new SearchProjectDataTable(ds.Tables["SearchProject"]));
            }
            if (ds.Tables["ProjectDocument"] != null)
            {
                base.Tables.Add(new ProjectDocumentDataTable(ds.Tables["ProjectDocument"]));
            }
            if (ds.Tables["Client"] != null)
            {
                base.Tables.Add(new ClientDataTable(ds.Tables["Client"]));
            }
            if (ds.Tables["ProjectGroup"] != null)
            {
                base.Tables.Add(new ProjectGroupDataTable(ds.Tables["ProjectGroup"]));
            }
            if (ds.Tables["GetReminder2Sp"] != null)
            {
                base.Tables.Add(new GetReminder2SpDataTable(ds.Tables["GetReminder2Sp"]));
            }
            if (ds.Tables["ProjectExpenses"] != null)
            {
                base.Tables.Add(new ProjectExpensesDataTable(ds.Tables["ProjectExpenses"]));
            }
            if (ds.Tables["ProjectClass"] != null)
            {
                base.Tables.Add(new ProjectClassDataTable(ds.Tables["ProjectClass"]));
            }
            base.DataSetName = ds.DataSetName;
            base.Prefix = ds.Prefix;
            base.Namespace = ds.Namespace;
            base.Locale = ds.Locale;
            base.CaseSensitive = ds.CaseSensitive;
            base.EnforceConstraints = ds.EnforceConstraints;
            base.Merge(ds, false, MissingSchemaAction.Add);
            this.InitVars();
        }
        else
        {
            base.ReadXml(reader);
            this.InitVars();
        }
    }

    /*[DebuggerNonUserCode]*/
    private void SchemaChanged(object sender, CollectionChangeEventArgs e)
    {
        if (e.Action == CollectionChangeAction.Remove)
        {
            this.InitVars();
        }
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeAgent()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeaspnet_Users()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeClient()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeCode()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeCountry()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeDocumentSection()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeDocumentType()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializedtRespPersonsFromUsers()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeGetProductSearchSp()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeGetReminder2Sp()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeGetReminderSp()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeHeadingSet()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeHeadingSetTemplate()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeHeadingTemplate()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializePages()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeProduct()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeProductProject()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeProject()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeProjectClass()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeProjectDistinctPGI()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeProjectDocument()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeProjectExpenses()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeProjectGroup()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeProjectHeading()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeProjectNotAssignedYet()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeProjectSupervisor()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    protected override bool ShouldSerializeRelations()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeSearchProject()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeSystemSetting()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    protected override bool ShouldSerializeTables()
    {
        return false;
    }

    /*[DebuggerNonUserCode]*/
    private bool ShouldSerializeUserPages()
    {
        return false;
    }

    [Browsable(false), DebuggerNonUserCode, DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
    public AgentDataTable Agent
    {
        get
        {
            return this.tableAgent;
        }
    }

    [DebuggerNonUserCode, DesignerSerializationVisibility(DesignerSerializationVisibility.Content), Browsable(false)]
    public aspnet_UsersDataTable aspnet_Users
    {
        get
        {
            return this.tableaspnet_Users;
        }
    }

    [DebuggerNonUserCode, Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
    public ClientDataTable Client
    {
        get
        {
            return this.tableClient;
        }
    }

    [DesignerSerializationVisibility(DesignerSerializationVisibility.Content), Browsable(false), DebuggerNonUserCode]
    public CodeDataTable Code
    {
        get
        {
            return this.tableCode;
        }
    }

    [DesignerSerializationVisibility(DesignerSerializationVisibility.Content), Browsable(false), DebuggerNonUserCode]
    public CountryDataTable Country
    {
        get
        {
            return this.tableCountry;
        }
    }

    [Browsable(false), DebuggerNonUserCode, DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
    public DocumentSectionDataTable DocumentSection
    {
        get
        {
            return this.tableDocumentSection;
        }
    }

    [DesignerSerializationVisibility(DesignerSerializationVisibility.Content), Browsable(false), DebuggerNonUserCode]
    public DocumentTypeDataTable DocumentType
    {
        get
        {
            return this.tableDocumentType;
        }
    }

    [DesignerSerializationVisibility(DesignerSerializationVisibility.Content), Browsable(false), DebuggerNonUserCode]
    public dtRespPersonsFromUsersDataTable dtRespPersonsFromUsers
    {
        get
        {
            return this.tabledtRespPersonsFromUsers;
        }
    }

    [DesignerSerializationVisibility(DesignerSerializationVisibility.Content), Browsable(false), DebuggerNonUserCode]
    public GetProductSearchSpDataTable GetProductSearchSp
    {
        get
        {
            return this.tableGetProductSearchSp;
        }
    }

    [DebuggerNonUserCode, DesignerSerializationVisibility(DesignerSerializationVisibility.Content), Browsable(false)]
    public GetReminder2SpDataTable GetReminder2Sp
    {
        get
        {
            return this.tableGetReminder2Sp;
        }
    }

    [DesignerSerializationVisibility(DesignerSerializationVisibility.Content), Browsable(false), DebuggerNonUserCode]
    public GetReminderSpDataTable GetReminderSp
    {
        get
        {
            return this.tableGetReminderSp;
        }
    }

    [Browsable(false), DebuggerNonUserCode, DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
    public HeadingSetDataTable HeadingSet
    {
        get
        {
            return this.tableHeadingSet;
        }
    }

    [Browsable(false), DebuggerNonUserCode, DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
    public HeadingSetTemplateDataTable HeadingSetTemplate
    {
        get
        {
            return this.tableHeadingSetTemplate;
        }
    }

    [DesignerSerializationVisibility(DesignerSerializationVisibility.Content), Browsable(false), DebuggerNonUserCode]
    public HeadingTemplateDataTable HeadingTemplate
    {
        get
        {
            return this.tableHeadingTemplate;
        }
    }

    [DesignerSerializationVisibility(DesignerSerializationVisibility.Content), Browsable(false), DebuggerNonUserCode]
    public PagesDataTable Pages
    {
        get
        {
            return this.tablePages;
        }
    }

    [Browsable(false), DebuggerNonUserCode, DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
    public ProductDataTable Product
    {
        get
        {
            return this.tableProduct;
        }
    }

    [Browsable(false), DebuggerNonUserCode, DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
    public ProductProjectDataTable ProductProject
    {
        get
        {
            return this.tableProductProject;
        }
    }

    [DebuggerNonUserCode, Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
    public ProjectDataTable Project
    {
        get
        {
            return this.tableProject;
        }
    }

    [Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), DebuggerNonUserCode]
    public ProjectClassDataTable ProjectClass
    {
        get
        {
            return this.tableProjectClass;
        }
    }

    [Browsable(false), DebuggerNonUserCode, DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
    public ProjectDistinctPGIDataTable ProjectDistinctPGI
    {
        get
        {
            return this.tableProjectDistinctPGI;
        }
    }

    [Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), DebuggerNonUserCode]
    public ProjectDocumentDataTable ProjectDocument
    {
        get
        {
            return this.tableProjectDocument;
        }
    }

    [Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), DebuggerNonUserCode]
    public ProjectExpensesDataTable ProjectExpenses
    {
        get
        {
            return this.tableProjectExpenses;
        }
    }

    [Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), DebuggerNonUserCode]
    public ProjectGroupDataTable ProjectGroup
    {
        get
        {
            return this.tableProjectGroup;
        }
    }

    [Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), DebuggerNonUserCode]
    public ProjectHeadingDataTable ProjectHeading
    {
        get
        {
            return this.tableProjectHeading;
        }
    }

    [Browsable(false), DebuggerNonUserCode, DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
    public ProjectNotAssignedYetDataTable ProjectNotAssignedYet
    {
        get
        {
            return this.tableProjectNotAssignedYet;
        }
    }

    [Browsable(false), DebuggerNonUserCode, DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
    public ProjectSupervisorDataTable ProjectSupervisor
    {
        get
        {
            return this.tableProjectSupervisor;
        }
    }

    [DebuggerNonUserCode, DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    public DataRelationCollection Relations
    {
        get
        {
            return base.Relations;
        }
    }

    [Browsable(true), DesignerSerializationVisibility(DesignerSerializationVisibility.Visible), DebuggerNonUserCode]
    public override System.Data.SchemaSerializationMode SchemaSerializationMode
    {
        get
        {
            return this._schemaSerializationMode;
        }
        set
        {
            this._schemaSerializationMode = value;
        }
    }

    [DesignerSerializationVisibility(DesignerSerializationVisibility.Content), Browsable(false), DebuggerNonUserCode]
    public SearchProjectDataTable SearchProject
    {
        get
        {
            return this.tableSearchProject;
        }
    }

    [DesignerSerializationVisibility(DesignerSerializationVisibility.Content), Browsable(false), DebuggerNonUserCode]
    public SystemSettingDataTable SystemSetting
    {
        get
        {
            return this.tableSystemSetting;
        }
    }

    [DebuggerNonUserCode, DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    public DataTableCollection Tables
    {
        get
        {
            return base.Tables;
        }
    }

    [Browsable(false), DebuggerNonUserCode, DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
    public UserPagesDataTable UserPages
    {
        get
        {
            return this.tableUserPages;
        }
    }

    [Serializable, XmlSchemaProvider("GetTypedTableSchema"), GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class AgentDataTable : DataTable, IEnumerable
    {
        private DataColumn columnAddress;
        private DataColumn columnAgent;
        private DataColumn columnChineseName;
        private DataColumn columnContactPerson;
        private DataColumn columnContactPerson2;
        private DataColumn columnCreateBy;
        private DataColumn columnCreateDate;
        private DataColumn columnEmailAddress;
        private DataColumn columnEmailAddress2;
        private DataColumn columnFax;
        private DataColumn columnFax2;
        private DataColumn columnJobTitle;
        private DataColumn columnMobilePhone;
        private DataColumn columnMobilePhone2;
        private DataColumn columnName;
        private DataColumn columnOwnerGroupID;
        private DataColumn columnPhone;
        private DataColumn columnPhone2;
        private DataColumn columnUpdateBy;
        private DataColumn columnUpdateDate;
        private DataColumn columnWebSite;

        public event IP.AgentRowChangeEventHandler AgentRowChanged;

        public event IP.AgentRowChangeEventHandler AgentRowChanging;

        public event IP.AgentRowChangeEventHandler AgentRowDeleted;

        public event IP.AgentRowChangeEventHandler AgentRowDeleting;

        /*[DebuggerNonUserCode]*/
        public AgentDataTable()
        {
            base.TableName = "Agent";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal AgentDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected AgentDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddAgentRow(IP.AgentRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.AgentRow AddAgentRow(string Agent, string Name, string ChineseName, string Address, string ContactPerson, string JobTitle, string Phone, string Fax, string CreateBy, DateTime CreateDate, string UpdateBy, DateTime UpdateDate, string OwnerGroupID, string Phone2, string MobilePhone, string MobilePhone2, string WebSite, string EmailAddress, string EmailAddress2, string ContactPerson2, string Fax2)
        {
            IP.AgentRow rowAgentRow = (IP.AgentRow) base.NewRow();
            rowAgentRow.ItemArray = new object[] { 
                Agent, Name, ChineseName, Address, ContactPerson, JobTitle, Phone, Fax, CreateBy, CreateDate, UpdateBy, UpdateDate, OwnerGroupID, Phone2, MobilePhone, MobilePhone2, 
                WebSite, EmailAddress, EmailAddress2, ContactPerson2, Fax2
             };
            base.Rows.Add(rowAgentRow);
            return rowAgentRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.AgentDataTable cln = (IP.AgentDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.AgentDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public IP.AgentRow FindByAgent(string Agent)
        {
            return (IP.AgentRow) base.Rows.Find(new object[] { Agent });
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.AgentRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "AgentDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnAgent = new DataColumn("Agent", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgent);
            this.columnName = new DataColumn("Name", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnName);
            this.columnChineseName = new DataColumn("ChineseName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnChineseName);
            this.columnAddress = new DataColumn("Address", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAddress);
            this.columnContactPerson = new DataColumn("ContactPerson", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnContactPerson);
            this.columnJobTitle = new DataColumn("JobTitle", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnJobTitle);
            this.columnPhone = new DataColumn("Phone", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnPhone);
            this.columnFax = new DataColumn("Fax", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnFax);
            this.columnCreateBy = new DataColumn("CreateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCreateBy);
            this.columnCreateDate = new DataColumn("CreateDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnCreateDate);
            this.columnUpdateBy = new DataColumn("UpdateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateBy);
            this.columnUpdateDate = new DataColumn("UpdateDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateDate);
            this.columnOwnerGroupID = new DataColumn("OwnerGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnOwnerGroupID);
            this.columnPhone2 = new DataColumn("Phone2", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnPhone2);
            this.columnMobilePhone = new DataColumn("MobilePhone", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnMobilePhone);
            this.columnMobilePhone2 = new DataColumn("MobilePhone2", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnMobilePhone2);
            this.columnWebSite = new DataColumn("WebSite", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnWebSite);
            this.columnEmailAddress = new DataColumn("EmailAddress", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnEmailAddress);
            this.columnEmailAddress2 = new DataColumn("EmailAddress2", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnEmailAddress2);
            this.columnContactPerson2 = new DataColumn("ContactPerson2", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnContactPerson2);
            this.columnFax2 = new DataColumn("Fax2", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnFax2);
            base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnAgent }, true));
            this.columnAgent.AllowDBNull = false;
            this.columnAgent.Unique = true;
            this.columnAgent.MaxLength = 30;
            this.columnName.MaxLength = 100;
            this.columnChineseName.MaxLength = 100;
            this.columnAddress.MaxLength = 100;
            this.columnContactPerson.MaxLength = 30;
            this.columnJobTitle.MaxLength = 60;
            this.columnPhone.MaxLength = 30;
            this.columnFax.MaxLength = 30;
            this.columnCreateBy.AllowDBNull = false;
            this.columnCreateBy.MaxLength = 30;
            this.columnCreateDate.AllowDBNull = false;
            this.columnUpdateBy.AllowDBNull = false;
            this.columnUpdateBy.MaxLength = 30;
            this.columnUpdateDate.AllowDBNull = false;
            this.columnOwnerGroupID.AllowDBNull = false;
            this.columnOwnerGroupID.MaxLength = 30;
            this.columnPhone2.MaxLength = 30;
            this.columnMobilePhone.MaxLength = 30;
            this.columnMobilePhone2.MaxLength = 30;
            this.columnWebSite.MaxLength = 100;
            this.columnEmailAddress.MaxLength = 30;
            this.columnEmailAddress2.MaxLength = 30;
            this.columnContactPerson2.MaxLength = 30;
            this.columnFax2.MaxLength = 30;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnAgent = base.Columns["Agent"];
            this.columnName = base.Columns["Name"];
            this.columnChineseName = base.Columns["ChineseName"];
            this.columnAddress = base.Columns["Address"];
            this.columnContactPerson = base.Columns["ContactPerson"];
            this.columnJobTitle = base.Columns["JobTitle"];
            this.columnPhone = base.Columns["Phone"];
            this.columnFax = base.Columns["Fax"];
            this.columnCreateBy = base.Columns["CreateBy"];
            this.columnCreateDate = base.Columns["CreateDate"];
            this.columnUpdateBy = base.Columns["UpdateBy"];
            this.columnUpdateDate = base.Columns["UpdateDate"];
            this.columnOwnerGroupID = base.Columns["OwnerGroupID"];
            this.columnPhone2 = base.Columns["Phone2"];
            this.columnMobilePhone = base.Columns["MobilePhone"];
            this.columnMobilePhone2 = base.Columns["MobilePhone2"];
            this.columnWebSite = base.Columns["WebSite"];
            this.columnEmailAddress = base.Columns["EmailAddress"];
            this.columnEmailAddress2 = base.Columns["EmailAddress2"];
            this.columnContactPerson2 = base.Columns["ContactPerson2"];
            this.columnFax2 = base.Columns["Fax2"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.AgentRow NewAgentRow()
        {
            return (IP.AgentRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.AgentRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.AgentRowChanged != null)
            {
                this.AgentRowChanged(this, new IP.AgentRowChangeEvent((IP.AgentRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.AgentRowChanging != null)
            {
                this.AgentRowChanging(this, new IP.AgentRowChangeEvent((IP.AgentRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.AgentRowDeleted != null)
            {
                this.AgentRowDeleted(this, new IP.AgentRowChangeEvent((IP.AgentRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.AgentRowDeleting != null)
            {
                this.AgentRowDeleting(this, new IP.AgentRowChangeEvent((IP.AgentRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveAgentRow(IP.AgentRow row)
        {
            base.Rows.Remove(row);
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AddressColumn
        {
            get
            {
                return this.columnAddress;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentColumn
        {
            get
            {
                return this.columnAgent;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ChineseNameColumn
        {
            get
            {
                return this.columnChineseName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ContactPerson2Column
        {
            get
            {
                return this.columnContactPerson2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ContactPersonColumn
        {
            get
            {
                return this.columnContactPerson;
            }
        }

        [DebuggerNonUserCode, Browsable(false)]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateByColumn
        {
            get
            {
                return this.columnCreateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateDateColumn
        {
            get
            {
                return this.columnCreateDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn EmailAddress2Column
        {
            get
            {
                return this.columnEmailAddress2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn EmailAddressColumn
        {
            get
            {
                return this.columnEmailAddress;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn Fax2Column
        {
            get
            {
                return this.columnFax2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn FaxColumn
        {
            get
            {
                return this.columnFax;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.AgentRow this[int index]
        {
            get
            {
                return (IP.AgentRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn JobTitleColumn
        {
            get
            {
                return this.columnJobTitle;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn MobilePhone2Column
        {
            get
            {
                return this.columnMobilePhone2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn MobilePhoneColumn
        {
            get
            {
                return this.columnMobilePhone;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn NameColumn
        {
            get
            {
                return this.columnName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OwnerGroupIDColumn
        {
            get
            {
                return this.columnOwnerGroupID;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn Phone2Column
        {
            get
            {
                return this.columnPhone2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn PhoneColumn
        {
            get
            {
                return this.columnPhone;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateByColumn
        {
            get
            {
                return this.columnUpdateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateDateColumn
        {
            get
            {
                return this.columnUpdateDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn WebSiteColumn
        {
            get
            {
                return this.columnWebSite;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class AgentRow : DataRow
    {
        private IP.AgentDataTable tableAgent;

        /*[DebuggerNonUserCode]*/
        internal AgentRow(DataRowBuilder rb) : base(rb)
        {
            this.tableAgent = (IP.AgentDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectRow[] GetProjectRows()
        {
            return (IP.ProjectRow[]) base.GetChildRows(base.Table.ChildRelations["FK_Project_Agent"]);
        }

        /*[DebuggerNonUserCode]*/
        public IP.SearchProjectRow[] GetSearchProjectRows()
        {
            return (IP.SearchProjectRow[]) base.GetChildRows(base.Table.ChildRelations["FK_Project_Agent1"]);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAddressNull()
        {
            return base.IsNull(this.tableAgent.AddressColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsChineseNameNull()
        {
            return base.IsNull(this.tableAgent.ChineseNameColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsContactPerson2Null()
        {
            return base.IsNull(this.tableAgent.ContactPerson2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsContactPersonNull()
        {
            return base.IsNull(this.tableAgent.ContactPersonColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsEmailAddress2Null()
        {
            return base.IsNull(this.tableAgent.EmailAddress2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsEmailAddressNull()
        {
            return base.IsNull(this.tableAgent.EmailAddressColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsFax2Null()
        {
            return base.IsNull(this.tableAgent.Fax2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsFaxNull()
        {
            return base.IsNull(this.tableAgent.FaxColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsJobTitleNull()
        {
            return base.IsNull(this.tableAgent.JobTitleColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsMobilePhone2Null()
        {
            return base.IsNull(this.tableAgent.MobilePhone2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsMobilePhoneNull()
        {
            return base.IsNull(this.tableAgent.MobilePhoneColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsNameNull()
        {
            return base.IsNull(this.tableAgent.NameColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsPhone2Null()
        {
            return base.IsNull(this.tableAgent.Phone2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsPhoneNull()
        {
            return base.IsNull(this.tableAgent.PhoneColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsWebSiteNull()
        {
            return base.IsNull(this.tableAgent.WebSiteColumn);
        }

        /*[DebuggerNonUserCode]*/
        public void SetAddressNull()
        {
            base[this.tableAgent.AddressColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetChineseNameNull()
        {
            base[this.tableAgent.ChineseNameColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetContactPerson2Null()
        {
            base[this.tableAgent.ContactPerson2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetContactPersonNull()
        {
            base[this.tableAgent.ContactPersonColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetEmailAddress2Null()
        {
            base[this.tableAgent.EmailAddress2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetEmailAddressNull()
        {
            base[this.tableAgent.EmailAddressColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetFax2Null()
        {
            base[this.tableAgent.Fax2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetFaxNull()
        {
            base[this.tableAgent.FaxColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetJobTitleNull()
        {
            base[this.tableAgent.JobTitleColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetMobilePhone2Null()
        {
            base[this.tableAgent.MobilePhone2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetMobilePhoneNull()
        {
            base[this.tableAgent.MobilePhoneColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetNameNull()
        {
            base[this.tableAgent.NameColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetPhone2Null()
        {
            base[this.tableAgent.Phone2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetPhoneNull()
        {
            base[this.tableAgent.PhoneColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetWebSiteNull()
        {
            base[this.tableAgent.WebSiteColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public string Address
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableAgent.AddressColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Address' in table 'Agent' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableAgent.AddressColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Agent
        {
            get
            {
                return (string) base[this.tableAgent.AgentColumn];
            }
            set
            {
                base[this.tableAgent.AgentColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ChineseName
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableAgent.ChineseNameColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ChineseName' in table 'Agent' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableAgent.ChineseNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ContactPerson
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableAgent.ContactPersonColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ContactPerson' in table 'Agent' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableAgent.ContactPersonColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ContactPerson2
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableAgent.ContactPerson2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ContactPerson2' in table 'Agent' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableAgent.ContactPerson2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string CreateBy
        {
            get
            {
                return (string) base[this.tableAgent.CreateByColumn];
            }
            set
            {
                base[this.tableAgent.CreateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime CreateDate
        {
            get
            {
                return (DateTime) base[this.tableAgent.CreateDateColumn];
            }
            set
            {
                base[this.tableAgent.CreateDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string EmailAddress
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableAgent.EmailAddressColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'EmailAddress' in table 'Agent' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableAgent.EmailAddressColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string EmailAddress2
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableAgent.EmailAddress2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'EmailAddress2' in table 'Agent' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableAgent.EmailAddress2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Fax
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableAgent.FaxColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Fax' in table 'Agent' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableAgent.FaxColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Fax2
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableAgent.Fax2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Fax2' in table 'Agent' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableAgent.Fax2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string JobTitle
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableAgent.JobTitleColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'JobTitle' in table 'Agent' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableAgent.JobTitleColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string MobilePhone
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableAgent.MobilePhoneColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'MobilePhone' in table 'Agent' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableAgent.MobilePhoneColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string MobilePhone2
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableAgent.MobilePhone2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'MobilePhone2' in table 'Agent' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableAgent.MobilePhone2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Name
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableAgent.NameColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Name' in table 'Agent' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableAgent.NameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string OwnerGroupID
        {
            get
            {
                return (string) base[this.tableAgent.OwnerGroupIDColumn];
            }
            set
            {
                base[this.tableAgent.OwnerGroupIDColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Phone
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableAgent.PhoneColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Phone' in table 'Agent' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableAgent.PhoneColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Phone2
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableAgent.Phone2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Phone2' in table 'Agent' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableAgent.Phone2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string UpdateBy
        {
            get
            {
                return (string) base[this.tableAgent.UpdateByColumn];
            }
            set
            {
                base[this.tableAgent.UpdateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime UpdateDate
        {
            get
            {
                return (DateTime) base[this.tableAgent.UpdateDateColumn];
            }
            set
            {
                base[this.tableAgent.UpdateDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string WebSite
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableAgent.WebSiteColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'WebSite' in table 'Agent' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableAgent.WebSiteColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class AgentRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.AgentRow eventRow;

        /*[DebuggerNonUserCode]*/
        public AgentRowChangeEvent(IP.AgentRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.AgentRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void AgentRowChangeEventHandler(object sender, IP.AgentRowChangeEvent e);

    [Serializable, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), XmlSchemaProvider("GetTypedTableSchema")]
    public class aspnet_UsersDataTable : DataTable, IEnumerable
    {
        private DataColumn columnEmail;
        private DataColumn columnIsLockedOut;
        private DataColumn columnUserId;
        private DataColumn columnUserName;

        public event IP.aspnet_UsersRowChangeEventHandler aspnet_UsersRowChanged;

        public event IP.aspnet_UsersRowChangeEventHandler aspnet_UsersRowChanging;

        public event IP.aspnet_UsersRowChangeEventHandler aspnet_UsersRowDeleted;

        public event IP.aspnet_UsersRowChangeEventHandler aspnet_UsersRowDeleting;

        /*[DebuggerNonUserCode]*/
        public aspnet_UsersDataTable()
        {
            base.TableName = "aspnet_Users";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal aspnet_UsersDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected aspnet_UsersDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void Addaspnet_UsersRow(IP.aspnet_UsersRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.aspnet_UsersRow Addaspnet_UsersRow(Guid UserId, string UserName, string Email, bool IsLockedOut)
        {
            IP.aspnet_UsersRow rowaspnet_UsersRow = (IP.aspnet_UsersRow) base.NewRow();
            rowaspnet_UsersRow.ItemArray = new object[] { UserId, UserName, Email, IsLockedOut };
            base.Rows.Add(rowaspnet_UsersRow);
            return rowaspnet_UsersRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.aspnet_UsersDataTable cln = (IP.aspnet_UsersDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.aspnet_UsersDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.aspnet_UsersRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "aspnet_UsersDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnUserId = new DataColumn("UserId", typeof(Guid), null, MappingType.Element);
            base.Columns.Add(this.columnUserId);
            this.columnUserName = new DataColumn("UserName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnUserName);
            this.columnEmail = new DataColumn("Email", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnEmail);
            this.columnIsLockedOut = new DataColumn("IsLockedOut", typeof(bool), null, MappingType.Element);
            base.Columns.Add(this.columnIsLockedOut);
            this.columnUserId.AllowDBNull = false;
            this.columnUserName.AllowDBNull = false;
            this.columnUserName.MaxLength = 0x100;
            this.columnEmail.MaxLength = 0x100;
            this.columnIsLockedOut.AllowDBNull = false;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnUserId = base.Columns["UserId"];
            this.columnUserName = base.Columns["UserName"];
            this.columnEmail = base.Columns["Email"];
            this.columnIsLockedOut = base.Columns["IsLockedOut"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.aspnet_UsersRow Newaspnet_UsersRow()
        {
            return (IP.aspnet_UsersRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.aspnet_UsersRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.aspnet_UsersRowChanged != null)
            {
                this.aspnet_UsersRowChanged(this, new IP.aspnet_UsersRowChangeEvent((IP.aspnet_UsersRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.aspnet_UsersRowChanging != null)
            {
                this.aspnet_UsersRowChanging(this, new IP.aspnet_UsersRowChangeEvent((IP.aspnet_UsersRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.aspnet_UsersRowDeleted != null)
            {
                this.aspnet_UsersRowDeleted(this, new IP.aspnet_UsersRowChangeEvent((IP.aspnet_UsersRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.aspnet_UsersRowDeleting != null)
            {
                this.aspnet_UsersRowDeleting(this, new IP.aspnet_UsersRowChangeEvent((IP.aspnet_UsersRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void Removeaspnet_UsersRow(IP.aspnet_UsersRow row)
        {
            base.Rows.Remove(row);
        }

        [Browsable(false), DebuggerNonUserCode]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn EmailColumn
        {
            get
            {
                return this.columnEmail;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn IsLockedOutColumn
        {
            get
            {
                return this.columnIsLockedOut;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.aspnet_UsersRow this[int index]
        {
            get
            {
                return (IP.aspnet_UsersRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UserIdColumn
        {
            get
            {
                return this.columnUserId;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UserNameColumn
        {
            get
            {
                return this.columnUserName;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class aspnet_UsersRow : DataRow
    {
        private IP.aspnet_UsersDataTable tableaspnet_Users;

        /*[DebuggerNonUserCode]*/
        internal aspnet_UsersRow(DataRowBuilder rb) : base(rb)
        {
            this.tableaspnet_Users = (IP.aspnet_UsersDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public bool IsEmailNull()
        {
            return base.IsNull(this.tableaspnet_Users.EmailColumn);
        }

        /*[DebuggerNonUserCode]*/
        public void SetEmailNull()
        {
            base[this.tableaspnet_Users.EmailColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public string Email
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableaspnet_Users.EmailColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Email' in table 'aspnet_Users' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableaspnet_Users.EmailColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public bool IsLockedOut
        {
            get
            {
                return (bool) base[this.tableaspnet_Users.IsLockedOutColumn];
            }
            set
            {
                base[this.tableaspnet_Users.IsLockedOutColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public Guid UserId
        {
            get
            {
                return (Guid) base[this.tableaspnet_Users.UserIdColumn];
            }
            set
            {
                base[this.tableaspnet_Users.UserIdColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string UserName
        {
            get
            {
                return (string) base[this.tableaspnet_Users.UserNameColumn];
            }
            set
            {
                base[this.tableaspnet_Users.UserNameColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class aspnet_UsersRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.aspnet_UsersRow eventRow;

        /*[DebuggerNonUserCode]*/
        public aspnet_UsersRowChangeEvent(IP.aspnet_UsersRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.aspnet_UsersRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void aspnet_UsersRowChangeEventHandler(object sender, IP.aspnet_UsersRowChangeEvent e);

    [Serializable, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), XmlSchemaProvider("GetTypedTableSchema")]
    public class ClientDataTable : DataTable, IEnumerable
    {
        private DataColumn columnAddress;
        private DataColumn columnChineseName;
        private DataColumn columnClient;
        private DataColumn columnContactPerson;
        private DataColumn columnContactPerson2;
        private DataColumn columnCreateBy;
        private DataColumn columnCreateDate;
        private DataColumn columnEmailAddress;
        private DataColumn columnEmailAddress2;
        private DataColumn columnFax;
        private DataColumn columnFax2;
        private DataColumn columnJobTitle;
        private DataColumn columnMobilePhone;
        private DataColumn columnMobilePhone2;
        private DataColumn columnName;
        private DataColumn columnOwnerGroupID;
        private DataColumn columnPhone;
        private DataColumn columnPhone2;
        private DataColumn columnUpdateBy;
        private DataColumn columnUpdateDate;
        private DataColumn columnWebSite;

        public event IP.ClientRowChangeEventHandler ClientRowChanged;

        public event IP.ClientRowChangeEventHandler ClientRowChanging;

        public event IP.ClientRowChangeEventHandler ClientRowDeleted;

        public event IP.ClientRowChangeEventHandler ClientRowDeleting;

        /*[DebuggerNonUserCode]*/
        public ClientDataTable()
        {
            base.TableName = "Client";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal ClientDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected ClientDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddClientRow(IP.ClientRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.ClientRow AddClientRow(string Client, string Name, string ChineseName, string Address, string ContactPerson, string JobTitle, string Phone, string Fax, string Phone2, string MobilePhone, string MobilePhone2, string WebSite, string EmailAddress, string EmailAddress2, string CreateBy, DateTime CreateDate, string UpdateBy, DateTime UpdateDate, string OwnerGroupID, string ContactPerson2, string Fax2)
        {
            IP.ClientRow rowClientRow = (IP.ClientRow) base.NewRow();
            rowClientRow.ItemArray = new object[] { 
                Client, Name, ChineseName, Address, ContactPerson, JobTitle, Phone, Fax, Phone2, MobilePhone, MobilePhone2, WebSite, EmailAddress, EmailAddress2, CreateBy, CreateDate, 
                UpdateBy, UpdateDate, OwnerGroupID, ContactPerson2, Fax2
             };
            base.Rows.Add(rowClientRow);
            return rowClientRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.ClientDataTable cln = (IP.ClientDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.ClientDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public IP.ClientRow FindByClient(string Client)
        {
            return (IP.ClientRow) base.Rows.Find(new object[] { Client });
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.ClientRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "ClientDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnClient = new DataColumn("Client", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClient);
            this.columnName = new DataColumn("Name", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnName);
            this.columnChineseName = new DataColumn("ChineseName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnChineseName);
            this.columnAddress = new DataColumn("Address", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAddress);
            this.columnContactPerson = new DataColumn("ContactPerson", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnContactPerson);
            this.columnJobTitle = new DataColumn("JobTitle", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnJobTitle);
            this.columnPhone = new DataColumn("Phone", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnPhone);
            this.columnFax = new DataColumn("Fax", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnFax);
            this.columnPhone2 = new DataColumn("Phone2", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnPhone2);
            this.columnMobilePhone = new DataColumn("MobilePhone", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnMobilePhone);
            this.columnMobilePhone2 = new DataColumn("MobilePhone2", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnMobilePhone2);
            this.columnWebSite = new DataColumn("WebSite", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnWebSite);
            this.columnEmailAddress = new DataColumn("EmailAddress", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnEmailAddress);
            this.columnEmailAddress2 = new DataColumn("EmailAddress2", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnEmailAddress2);
            this.columnCreateBy = new DataColumn("CreateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCreateBy);
            this.columnCreateDate = new DataColumn("CreateDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnCreateDate);
            this.columnUpdateBy = new DataColumn("UpdateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateBy);
            this.columnUpdateDate = new DataColumn("UpdateDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateDate);
            this.columnOwnerGroupID = new DataColumn("OwnerGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnOwnerGroupID);
            this.columnContactPerson2 = new DataColumn("ContactPerson2", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnContactPerson2);
            this.columnFax2 = new DataColumn("Fax2", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnFax2);
            base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnClient }, true));
            this.columnClient.AllowDBNull = false;
            this.columnClient.Unique = true;
            this.columnClient.MaxLength = 30;
            this.columnName.MaxLength = 100;
            this.columnChineseName.MaxLength = 100;
            this.columnAddress.MaxLength = 100;
            this.columnContactPerson.MaxLength = 30;
            this.columnJobTitle.MaxLength = 60;
            this.columnPhone.MaxLength = 30;
            this.columnFax.MaxLength = 30;
            this.columnPhone2.MaxLength = 30;
            this.columnMobilePhone.MaxLength = 30;
            this.columnMobilePhone2.MaxLength = 30;
            this.columnWebSite.MaxLength = 100;
            this.columnEmailAddress.MaxLength = 30;
            this.columnEmailAddress2.MaxLength = 30;
            this.columnCreateBy.AllowDBNull = false;
            this.columnCreateBy.MaxLength = 30;
            this.columnCreateDate.AllowDBNull = false;
            this.columnUpdateBy.AllowDBNull = false;
            this.columnUpdateBy.MaxLength = 30;
            this.columnUpdateDate.AllowDBNull = false;
            this.columnOwnerGroupID.AllowDBNull = false;
            this.columnOwnerGroupID.MaxLength = 30;
            this.columnContactPerson2.MaxLength = 30;
            this.columnFax2.MaxLength = 30;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnClient = base.Columns["Client"];
            this.columnName = base.Columns["Name"];
            this.columnChineseName = base.Columns["ChineseName"];
            this.columnAddress = base.Columns["Address"];
            this.columnContactPerson = base.Columns["ContactPerson"];
            this.columnJobTitle = base.Columns["JobTitle"];
            this.columnPhone = base.Columns["Phone"];
            this.columnFax = base.Columns["Fax"];
            this.columnPhone2 = base.Columns["Phone2"];
            this.columnMobilePhone = base.Columns["MobilePhone"];
            this.columnMobilePhone2 = base.Columns["MobilePhone2"];
            this.columnWebSite = base.Columns["WebSite"];
            this.columnEmailAddress = base.Columns["EmailAddress"];
            this.columnEmailAddress2 = base.Columns["EmailAddress2"];
            this.columnCreateBy = base.Columns["CreateBy"];
            this.columnCreateDate = base.Columns["CreateDate"];
            this.columnUpdateBy = base.Columns["UpdateBy"];
            this.columnUpdateDate = base.Columns["UpdateDate"];
            this.columnOwnerGroupID = base.Columns["OwnerGroupID"];
            this.columnContactPerson2 = base.Columns["ContactPerson2"];
            this.columnFax2 = base.Columns["Fax2"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.ClientRow NewClientRow()
        {
            return (IP.ClientRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.ClientRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.ClientRowChanged != null)
            {
                this.ClientRowChanged(this, new IP.ClientRowChangeEvent((IP.ClientRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.ClientRowChanging != null)
            {
                this.ClientRowChanging(this, new IP.ClientRowChangeEvent((IP.ClientRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.ClientRowDeleted != null)
            {
                this.ClientRowDeleted(this, new IP.ClientRowChangeEvent((IP.ClientRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.ClientRowDeleting != null)
            {
                this.ClientRowDeleting(this, new IP.ClientRowChangeEvent((IP.ClientRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveClientRow(IP.ClientRow row)
        {
            base.Rows.Remove(row);
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AddressColumn
        {
            get
            {
                return this.columnAddress;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ChineseNameColumn
        {
            get
            {
                return this.columnChineseName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientColumn
        {
            get
            {
                return this.columnClient;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ContactPerson2Column
        {
            get
            {
                return this.columnContactPerson2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ContactPersonColumn
        {
            get
            {
                return this.columnContactPerson;
            }
        }

        [DebuggerNonUserCode, Browsable(false)]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateByColumn
        {
            get
            {
                return this.columnCreateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateDateColumn
        {
            get
            {
                return this.columnCreateDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn EmailAddress2Column
        {
            get
            {
                return this.columnEmailAddress2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn EmailAddressColumn
        {
            get
            {
                return this.columnEmailAddress;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn Fax2Column
        {
            get
            {
                return this.columnFax2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn FaxColumn
        {
            get
            {
                return this.columnFax;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ClientRow this[int index]
        {
            get
            {
                return (IP.ClientRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn JobTitleColumn
        {
            get
            {
                return this.columnJobTitle;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn MobilePhone2Column
        {
            get
            {
                return this.columnMobilePhone2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn MobilePhoneColumn
        {
            get
            {
                return this.columnMobilePhone;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn NameColumn
        {
            get
            {
                return this.columnName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OwnerGroupIDColumn
        {
            get
            {
                return this.columnOwnerGroupID;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn Phone2Column
        {
            get
            {
                return this.columnPhone2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn PhoneColumn
        {
            get
            {
                return this.columnPhone;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateByColumn
        {
            get
            {
                return this.columnUpdateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateDateColumn
        {
            get
            {
                return this.columnUpdateDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn WebSiteColumn
        {
            get
            {
                return this.columnWebSite;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ClientRow : DataRow
    {
        private IP.ClientDataTable tableClient;

        /*[DebuggerNonUserCode]*/
        internal ClientRow(DataRowBuilder rb) : base(rb)
        {
            this.tableClient = (IP.ClientDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAddressNull()
        {
            return base.IsNull(this.tableClient.AddressColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsChineseNameNull()
        {
            return base.IsNull(this.tableClient.ChineseNameColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsContactPerson2Null()
        {
            return base.IsNull(this.tableClient.ContactPerson2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsContactPersonNull()
        {
            return base.IsNull(this.tableClient.ContactPersonColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsEmailAddress2Null()
        {
            return base.IsNull(this.tableClient.EmailAddress2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsEmailAddressNull()
        {
            return base.IsNull(this.tableClient.EmailAddressColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsFax2Null()
        {
            return base.IsNull(this.tableClient.Fax2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsFaxNull()
        {
            return base.IsNull(this.tableClient.FaxColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsJobTitleNull()
        {
            return base.IsNull(this.tableClient.JobTitleColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsMobilePhone2Null()
        {
            return base.IsNull(this.tableClient.MobilePhone2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsMobilePhoneNull()
        {
            return base.IsNull(this.tableClient.MobilePhoneColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsNameNull()
        {
            return base.IsNull(this.tableClient.NameColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsPhone2Null()
        {
            return base.IsNull(this.tableClient.Phone2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsPhoneNull()
        {
            return base.IsNull(this.tableClient.PhoneColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsWebSiteNull()
        {
            return base.IsNull(this.tableClient.WebSiteColumn);
        }

        /*[DebuggerNonUserCode]*/
        public void SetAddressNull()
        {
            base[this.tableClient.AddressColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetChineseNameNull()
        {
            base[this.tableClient.ChineseNameColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetContactPerson2Null()
        {
            base[this.tableClient.ContactPerson2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetContactPersonNull()
        {
            base[this.tableClient.ContactPersonColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetEmailAddress2Null()
        {
            base[this.tableClient.EmailAddress2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetEmailAddressNull()
        {
            base[this.tableClient.EmailAddressColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetFax2Null()
        {
            base[this.tableClient.Fax2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetFaxNull()
        {
            base[this.tableClient.FaxColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetJobTitleNull()
        {
            base[this.tableClient.JobTitleColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetMobilePhone2Null()
        {
            base[this.tableClient.MobilePhone2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetMobilePhoneNull()
        {
            base[this.tableClient.MobilePhoneColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetNameNull()
        {
            base[this.tableClient.NameColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetPhone2Null()
        {
            base[this.tableClient.Phone2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetPhoneNull()
        {
            base[this.tableClient.PhoneColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetWebSiteNull()
        {
            base[this.tableClient.WebSiteColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public string Address
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableClient.AddressColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Address' in table 'Client' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableClient.AddressColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ChineseName
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableClient.ChineseNameColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ChineseName' in table 'Client' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableClient.ChineseNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Client
        {
            get
            {
                return (string) base[this.tableClient.ClientColumn];
            }
            set
            {
                base[this.tableClient.ClientColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ContactPerson
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableClient.ContactPersonColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ContactPerson' in table 'Client' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableClient.ContactPersonColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ContactPerson2
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableClient.ContactPerson2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ContactPerson2' in table 'Client' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableClient.ContactPerson2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string CreateBy
        {
            get
            {
                return (string) base[this.tableClient.CreateByColumn];
            }
            set
            {
                base[this.tableClient.CreateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime CreateDate
        {
            get
            {
                return (DateTime) base[this.tableClient.CreateDateColumn];
            }
            set
            {
                base[this.tableClient.CreateDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string EmailAddress
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableClient.EmailAddressColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'EmailAddress' in table 'Client' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableClient.EmailAddressColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string EmailAddress2
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableClient.EmailAddress2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'EmailAddress2' in table 'Client' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableClient.EmailAddress2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Fax
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableClient.FaxColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Fax' in table 'Client' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableClient.FaxColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Fax2
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableClient.Fax2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Fax2' in table 'Client' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableClient.Fax2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string JobTitle
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableClient.JobTitleColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'JobTitle' in table 'Client' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableClient.JobTitleColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string MobilePhone
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableClient.MobilePhoneColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'MobilePhone' in table 'Client' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableClient.MobilePhoneColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string MobilePhone2
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableClient.MobilePhone2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'MobilePhone2' in table 'Client' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableClient.MobilePhone2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Name
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableClient.NameColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Name' in table 'Client' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableClient.NameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string OwnerGroupID
        {
            get
            {
                return (string) base[this.tableClient.OwnerGroupIDColumn];
            }
            set
            {
                base[this.tableClient.OwnerGroupIDColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Phone
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableClient.PhoneColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Phone' in table 'Client' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableClient.PhoneColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Phone2
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableClient.Phone2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Phone2' in table 'Client' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableClient.Phone2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string UpdateBy
        {
            get
            {
                return (string) base[this.tableClient.UpdateByColumn];
            }
            set
            {
                base[this.tableClient.UpdateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime UpdateDate
        {
            get
            {
                return (DateTime) base[this.tableClient.UpdateDateColumn];
            }
            set
            {
                base[this.tableClient.UpdateDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string WebSite
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableClient.WebSiteColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'WebSite' in table 'Client' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableClient.WebSiteColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ClientRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.ClientRow eventRow;

        /*[DebuggerNonUserCode]*/
        public ClientRowChangeEvent(IP.ClientRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ClientRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void ClientRowChangeEventHandler(object sender, IP.ClientRowChangeEvent e);

    [Serializable, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), XmlSchemaProvider("GetTypedTableSchema")]
    public class CodeDataTable : DataTable, IEnumerable
    {
        private DataColumn columnCode;
        private DataColumn columnCreateBy;
        private DataColumn columnCreateDate;
        private DataColumn columnDescription;
        private DataColumn columnOwnerGroupID;
        private DataColumn columnType;
        private DataColumn columnUpdateBy;
        private DataColumn columnUpdateDate;

        public event IP.CodeRowChangeEventHandler CodeRowChanged;

        public event IP.CodeRowChangeEventHandler CodeRowChanging;

        public event IP.CodeRowChangeEventHandler CodeRowDeleted;

        public event IP.CodeRowChangeEventHandler CodeRowDeleting;

        /*[DebuggerNonUserCode]*/
        public CodeDataTable()
        {
            base.TableName = "Code";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal CodeDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected CodeDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddCodeRow(IP.CodeRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.CodeRow AddCodeRow(string Type, string Code, string Description, string CreateBy, DateTime CreateDate, string UpdateBy, DateTime UpdateDate, string OwnerGroupID)
        {
            IP.CodeRow rowCodeRow = (IP.CodeRow) base.NewRow();
            rowCodeRow.ItemArray = new object[] { Type, Code, Description, CreateBy, CreateDate, UpdateBy, UpdateDate, OwnerGroupID };
            base.Rows.Add(rowCodeRow);
            return rowCodeRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.CodeDataTable cln = (IP.CodeDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.CodeDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public IP.CodeRow FindByTypeCode(string Type, string Code)
        {
            return (IP.CodeRow) base.Rows.Find(new object[] { Type, Code });
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.CodeRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "CodeDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnType = new DataColumn("Type", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnType);
            this.columnCode = new DataColumn("Code", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCode);
            this.columnDescription = new DataColumn("Description", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnDescription);
            this.columnCreateBy = new DataColumn("CreateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCreateBy);
            this.columnCreateDate = new DataColumn("CreateDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnCreateDate);
            this.columnUpdateBy = new DataColumn("UpdateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateBy);
            this.columnUpdateDate = new DataColumn("UpdateDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateDate);
            this.columnOwnerGroupID = new DataColumn("OwnerGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnOwnerGroupID);
            base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnType, this.columnCode }, true));
            this.columnType.AllowDBNull = false;
            this.columnType.MaxLength = 30;
            this.columnCode.AllowDBNull = false;
            this.columnCode.MaxLength = 30;
            this.columnDescription.MaxLength = 100;
            this.columnCreateBy.AllowDBNull = false;
            this.columnCreateBy.MaxLength = 30;
            this.columnCreateDate.AllowDBNull = false;
            this.columnUpdateBy.AllowDBNull = false;
            this.columnUpdateBy.MaxLength = 30;
            this.columnUpdateDate.AllowDBNull = false;
            this.columnOwnerGroupID.AllowDBNull = false;
            this.columnOwnerGroupID.MaxLength = 30;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnType = base.Columns["Type"];
            this.columnCode = base.Columns["Code"];
            this.columnDescription = base.Columns["Description"];
            this.columnCreateBy = base.Columns["CreateBy"];
            this.columnCreateDate = base.Columns["CreateDate"];
            this.columnUpdateBy = base.Columns["UpdateBy"];
            this.columnUpdateDate = base.Columns["UpdateDate"];
            this.columnOwnerGroupID = base.Columns["OwnerGroupID"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.CodeRow NewCodeRow()
        {
            return (IP.CodeRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.CodeRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.CodeRowChanged != null)
            {
                this.CodeRowChanged(this, new IP.CodeRowChangeEvent((IP.CodeRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.CodeRowChanging != null)
            {
                this.CodeRowChanging(this, new IP.CodeRowChangeEvent((IP.CodeRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.CodeRowDeleted != null)
            {
                this.CodeRowDeleted(this, new IP.CodeRowChangeEvent((IP.CodeRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.CodeRowDeleting != null)
            {
                this.CodeRowDeleting(this, new IP.CodeRowChangeEvent((IP.CodeRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveCodeRow(IP.CodeRow row)
        {
            base.Rows.Remove(row);
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CodeColumn
        {
            get
            {
                return this.columnCode;
            }
        }

        [DebuggerNonUserCode, Browsable(false)]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateByColumn
        {
            get
            {
                return this.columnCreateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateDateColumn
        {
            get
            {
                return this.columnCreateDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DescriptionColumn
        {
            get
            {
                return this.columnDescription;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.CodeRow this[int index]
        {
            get
            {
                return (IP.CodeRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OwnerGroupIDColumn
        {
            get
            {
                return this.columnOwnerGroupID;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn TypeColumn
        {
            get
            {
                return this.columnType;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateByColumn
        {
            get
            {
                return this.columnUpdateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateDateColumn
        {
            get
            {
                return this.columnUpdateDate;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class CodeRow : DataRow
    {
        private IP.CodeDataTable tableCode;

        /*[DebuggerNonUserCode]*/
        internal CodeRow(DataRowBuilder rb) : base(rb)
        {
            this.tableCode = (IP.CodeDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDescriptionNull()
        {
            return base.IsNull(this.tableCode.DescriptionColumn);
        }

        /*[DebuggerNonUserCode]*/
        public void SetDescriptionNull()
        {
            base[this.tableCode.DescriptionColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public string Code
        {
            get
            {
                return (string) base[this.tableCode.CodeColumn];
            }
            set
            {
                base[this.tableCode.CodeColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string CreateBy
        {
            get
            {
                return (string) base[this.tableCode.CreateByColumn];
            }
            set
            {
                base[this.tableCode.CreateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime CreateDate
        {
            get
            {
                return (DateTime) base[this.tableCode.CreateDateColumn];
            }
            set
            {
                base[this.tableCode.CreateDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Description
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableCode.DescriptionColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Description' in table 'Code' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableCode.DescriptionColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string OwnerGroupID
        {
            get
            {
                return (string) base[this.tableCode.OwnerGroupIDColumn];
            }
            set
            {
                base[this.tableCode.OwnerGroupIDColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Type
        {
            get
            {
                return (string) base[this.tableCode.TypeColumn];
            }
            set
            {
                base[this.tableCode.TypeColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string UpdateBy
        {
            get
            {
                return (string) base[this.tableCode.UpdateByColumn];
            }
            set
            {
                base[this.tableCode.UpdateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime UpdateDate
        {
            get
            {
                return (DateTime) base[this.tableCode.UpdateDateColumn];
            }
            set
            {
                base[this.tableCode.UpdateDateColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class CodeRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.CodeRow eventRow;

        /*[DebuggerNonUserCode]*/
        public CodeRowChangeEvent(IP.CodeRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.CodeRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void CodeRowChangeEventHandler(object sender, IP.CodeRowChangeEvent e);

    [Serializable, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), XmlSchemaProvider("GetTypedTableSchema")]
    public class CountryDataTable : DataTable, IEnumerable
    {
        private DataColumn columnChineseName;
        private DataColumn columnCountry;
        private DataColumn columnCreateBy;
        private DataColumn columnCreateDate;
        private DataColumn columnEnglishName;
        private DataColumn columnOwnerGroupID;
        private DataColumn columnPCTYN;
        private DataColumn columnUpdateBy;
        private DataColumn columnUpdateDate;

        public event IP.CountryRowChangeEventHandler CountryRowChanged;

        public event IP.CountryRowChangeEventHandler CountryRowChanging;

        public event IP.CountryRowChangeEventHandler CountryRowDeleted;

        public event IP.CountryRowChangeEventHandler CountryRowDeleting;

        /*[DebuggerNonUserCode]*/
        public CountryDataTable()
        {
            base.TableName = "Country";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal CountryDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected CountryDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddCountryRow(IP.CountryRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.CountryRow AddCountryRow(string Country, string EnglishName, string ChineseName, string CreateBy, DateTime CreateDate, string UpdateBy, DateTime UpdateDate, string OwnerGroupID, bool PCTYN)
        {
            IP.CountryRow rowCountryRow = (IP.CountryRow) base.NewRow();
            rowCountryRow.ItemArray = new object[] { Country, EnglishName, ChineseName, CreateBy, CreateDate, UpdateBy, UpdateDate, OwnerGroupID, PCTYN };
            base.Rows.Add(rowCountryRow);
            return rowCountryRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.CountryDataTable cln = (IP.CountryDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.CountryDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public IP.CountryRow FindByCountry(string Country)
        {
            return (IP.CountryRow) base.Rows.Find(new object[] { Country });
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.CountryRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "CountryDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnCountry = new DataColumn("Country", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCountry);
            this.columnEnglishName = new DataColumn("EnglishName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnEnglishName);
            this.columnChineseName = new DataColumn("ChineseName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnChineseName);
            this.columnCreateBy = new DataColumn("CreateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCreateBy);
            this.columnCreateDate = new DataColumn("CreateDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnCreateDate);
            this.columnUpdateBy = new DataColumn("UpdateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateBy);
            this.columnUpdateDate = new DataColumn("UpdateDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateDate);
            this.columnOwnerGroupID = new DataColumn("OwnerGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnOwnerGroupID);
            this.columnPCTYN = new DataColumn("PCTYN", typeof(bool), null, MappingType.Element);
            base.Columns.Add(this.columnPCTYN);
            base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnCountry }, true));
            this.columnCountry.AllowDBNull = false;
            this.columnCountry.Unique = true;
            this.columnCountry.MaxLength = 30;
            this.columnEnglishName.MaxLength = 100;
            this.columnChineseName.MaxLength = 100;
            this.columnCreateBy.AllowDBNull = false;
            this.columnCreateBy.MaxLength = 30;
            this.columnCreateDate.AllowDBNull = false;
            this.columnUpdateBy.AllowDBNull = false;
            this.columnUpdateBy.MaxLength = 30;
            this.columnUpdateDate.AllowDBNull = false;
            this.columnOwnerGroupID.AllowDBNull = false;
            this.columnOwnerGroupID.MaxLength = 30;
            this.columnPCTYN.AllowDBNull = false;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnCountry = base.Columns["Country"];
            this.columnEnglishName = base.Columns["EnglishName"];
            this.columnChineseName = base.Columns["ChineseName"];
            this.columnCreateBy = base.Columns["CreateBy"];
            this.columnCreateDate = base.Columns["CreateDate"];
            this.columnUpdateBy = base.Columns["UpdateBy"];
            this.columnUpdateDate = base.Columns["UpdateDate"];
            this.columnOwnerGroupID = base.Columns["OwnerGroupID"];
            this.columnPCTYN = base.Columns["PCTYN"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.CountryRow NewCountryRow()
        {
            return (IP.CountryRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.CountryRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.CountryRowChanged != null)
            {
                this.CountryRowChanged(this, new IP.CountryRowChangeEvent((IP.CountryRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.CountryRowChanging != null)
            {
                this.CountryRowChanging(this, new IP.CountryRowChangeEvent((IP.CountryRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.CountryRowDeleted != null)
            {
                this.CountryRowDeleted(this, new IP.CountryRowChangeEvent((IP.CountryRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.CountryRowDeleting != null)
            {
                this.CountryRowDeleting(this, new IP.CountryRowChangeEvent((IP.CountryRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveCountryRow(IP.CountryRow row)
        {
            base.Rows.Remove(row);
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ChineseNameColumn
        {
            get
            {
                return this.columnChineseName;
            }
        }

        [Browsable(false), DebuggerNonUserCode]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CountryColumn
        {
            get
            {
                return this.columnCountry;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateByColumn
        {
            get
            {
                return this.columnCreateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateDateColumn
        {
            get
            {
                return this.columnCreateDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn EnglishNameColumn
        {
            get
            {
                return this.columnEnglishName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.CountryRow this[int index]
        {
            get
            {
                return (IP.CountryRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OwnerGroupIDColumn
        {
            get
            {
                return this.columnOwnerGroupID;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn PCTYNColumn
        {
            get
            {
                return this.columnPCTYN;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateByColumn
        {
            get
            {
                return this.columnUpdateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateDateColumn
        {
            get
            {
                return this.columnUpdateDate;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class CountryRow : DataRow
    {
        private IP.CountryDataTable tableCountry;

        /*[DebuggerNonUserCode]*/
        internal CountryRow(DataRowBuilder rb) : base(rb)
        {
            this.tableCountry = (IP.CountryDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public bool IsChineseNameNull()
        {
            return base.IsNull(this.tableCountry.ChineseNameColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsEnglishNameNull()
        {
            return base.IsNull(this.tableCountry.EnglishNameColumn);
        }

        /*[DebuggerNonUserCode]*/
        public void SetChineseNameNull()
        {
            base[this.tableCountry.ChineseNameColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetEnglishNameNull()
        {
            base[this.tableCountry.EnglishNameColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public string ChineseName
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableCountry.ChineseNameColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ChineseName' in table 'Country' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableCountry.ChineseNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Country
        {
            get
            {
                return (string) base[this.tableCountry.CountryColumn];
            }
            set
            {
                base[this.tableCountry.CountryColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string CreateBy
        {
            get
            {
                return (string) base[this.tableCountry.CreateByColumn];
            }
            set
            {
                base[this.tableCountry.CreateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime CreateDate
        {
            get
            {
                return (DateTime) base[this.tableCountry.CreateDateColumn];
            }
            set
            {
                base[this.tableCountry.CreateDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string EnglishName
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableCountry.EnglishNameColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'EnglishName' in table 'Country' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableCountry.EnglishNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string OwnerGroupID
        {
            get
            {
                return (string) base[this.tableCountry.OwnerGroupIDColumn];
            }
            set
            {
                base[this.tableCountry.OwnerGroupIDColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public bool PCTYN
        {
            get
            {
                return (bool) base[this.tableCountry.PCTYNColumn];
            }
            set
            {
                base[this.tableCountry.PCTYNColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string UpdateBy
        {
            get
            {
                return (string) base[this.tableCountry.UpdateByColumn];
            }
            set
            {
                base[this.tableCountry.UpdateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime UpdateDate
        {
            get
            {
                return (DateTime) base[this.tableCountry.UpdateDateColumn];
            }
            set
            {
                base[this.tableCountry.UpdateDateColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class CountryRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.CountryRow eventRow;

        /*[DebuggerNonUserCode]*/
        public CountryRowChangeEvent(IP.CountryRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.CountryRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void CountryRowChangeEventHandler(object sender, IP.CountryRowChangeEvent e);

    [Serializable, XmlSchemaProvider("GetTypedTableSchema"), GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class DocumentSectionDataTable : DataTable, IEnumerable
    {
        private DataColumn columnCreateBy;
        private DataColumn columnDescription;
        private DataColumn columnOwnerGroupID;
        private DataColumn columnSection;
        private DataColumn columnUpdateBy;

        public event IP.DocumentSectionRowChangeEventHandler DocumentSectionRowChanged;

        public event IP.DocumentSectionRowChangeEventHandler DocumentSectionRowChanging;

        public event IP.DocumentSectionRowChangeEventHandler DocumentSectionRowDeleted;

        public event IP.DocumentSectionRowChangeEventHandler DocumentSectionRowDeleting;

        /*[DebuggerNonUserCode]*/
        public DocumentSectionDataTable()
        {
            base.TableName = "DocumentSection";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal DocumentSectionDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected DocumentSectionDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddDocumentSectionRow(IP.DocumentSectionRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.DocumentSectionRow AddDocumentSectionRow(string Section, string Description, string CreateBy, string UpdateBy, string OwnerGroupID)
        {
            IP.DocumentSectionRow rowDocumentSectionRow = (IP.DocumentSectionRow) base.NewRow();
            rowDocumentSectionRow.ItemArray = new object[] { Section, Description, CreateBy, UpdateBy, OwnerGroupID };
            base.Rows.Add(rowDocumentSectionRow);
            return rowDocumentSectionRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.DocumentSectionDataTable cln = (IP.DocumentSectionDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.DocumentSectionDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public IP.DocumentSectionRow FindBySection(string Section)
        {
            return (IP.DocumentSectionRow) base.Rows.Find(new object[] { Section });
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.DocumentSectionRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "DocumentSectionDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnSection = new DataColumn("Section", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnSection);
            this.columnDescription = new DataColumn("Description", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnDescription);
            this.columnCreateBy = new DataColumn("CreateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCreateBy);
            this.columnUpdateBy = new DataColumn("UpdateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateBy);
            this.columnOwnerGroupID = new DataColumn("OwnerGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnOwnerGroupID);
            base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnSection }, true));
            this.columnSection.AllowDBNull = false;
            this.columnSection.Unique = true;
            this.columnSection.MaxLength = 30;
            this.columnDescription.AllowDBNull = false;
            this.columnDescription.MaxLength = 100;
            this.columnCreateBy.AllowDBNull = false;
            this.columnCreateBy.MaxLength = 30;
            this.columnUpdateBy.AllowDBNull = false;
            this.columnUpdateBy.MaxLength = 30;
            this.columnOwnerGroupID.AllowDBNull = false;
            this.columnOwnerGroupID.MaxLength = 30;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnSection = base.Columns["Section"];
            this.columnDescription = base.Columns["Description"];
            this.columnCreateBy = base.Columns["CreateBy"];
            this.columnUpdateBy = base.Columns["UpdateBy"];
            this.columnOwnerGroupID = base.Columns["OwnerGroupID"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.DocumentSectionRow NewDocumentSectionRow()
        {
            return (IP.DocumentSectionRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.DocumentSectionRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.DocumentSectionRowChanged != null)
            {
                this.DocumentSectionRowChanged(this, new IP.DocumentSectionRowChangeEvent((IP.DocumentSectionRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.DocumentSectionRowChanging != null)
            {
                this.DocumentSectionRowChanging(this, new IP.DocumentSectionRowChangeEvent((IP.DocumentSectionRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.DocumentSectionRowDeleted != null)
            {
                this.DocumentSectionRowDeleted(this, new IP.DocumentSectionRowChangeEvent((IP.DocumentSectionRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.DocumentSectionRowDeleting != null)
            {
                this.DocumentSectionRowDeleting(this, new IP.DocumentSectionRowChangeEvent((IP.DocumentSectionRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveDocumentSectionRow(IP.DocumentSectionRow row)
        {
            base.Rows.Remove(row);
        }

        [Browsable(false), DebuggerNonUserCode]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateByColumn
        {
            get
            {
                return this.columnCreateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DescriptionColumn
        {
            get
            {
                return this.columnDescription;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.DocumentSectionRow this[int index]
        {
            get
            {
                return (IP.DocumentSectionRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OwnerGroupIDColumn
        {
            get
            {
                return this.columnOwnerGroupID;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn SectionColumn
        {
            get
            {
                return this.columnSection;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateByColumn
        {
            get
            {
                return this.columnUpdateBy;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class DocumentSectionRow : DataRow
    {
        private IP.DocumentSectionDataTable tableDocumentSection;

        /*[DebuggerNonUserCode]*/
        internal DocumentSectionRow(DataRowBuilder rb) : base(rb)
        {
            this.tableDocumentSection = (IP.DocumentSectionDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public IP.DocumentTypeRow[] GetDocumentTypeRows()
        {
            return (IP.DocumentTypeRow[]) base.GetChildRows(base.Table.ChildRelations["FK_DocumentType_DocumentSection"]);
        }

        /*[DebuggerNonUserCode]*/
        public string CreateBy
        {
            get
            {
                return (string) base[this.tableDocumentSection.CreateByColumn];
            }
            set
            {
                base[this.tableDocumentSection.CreateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Description
        {
            get
            {
                return (string) base[this.tableDocumentSection.DescriptionColumn];
            }
            set
            {
                base[this.tableDocumentSection.DescriptionColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string OwnerGroupID
        {
            get
            {
                return (string) base[this.tableDocumentSection.OwnerGroupIDColumn];
            }
            set
            {
                base[this.tableDocumentSection.OwnerGroupIDColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Section
        {
            get
            {
                return (string) base[this.tableDocumentSection.SectionColumn];
            }
            set
            {
                base[this.tableDocumentSection.SectionColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string UpdateBy
        {
            get
            {
                return (string) base[this.tableDocumentSection.UpdateByColumn];
            }
            set
            {
                base[this.tableDocumentSection.UpdateByColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class DocumentSectionRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.DocumentSectionRow eventRow;

        /*[DebuggerNonUserCode]*/
        public DocumentSectionRowChangeEvent(IP.DocumentSectionRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.DocumentSectionRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void DocumentSectionRowChangeEventHandler(object sender, IP.DocumentSectionRowChangeEvent e);

    [Serializable, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), XmlSchemaProvider("GetTypedTableSchema")]
    public class DocumentTypeDataTable : DataTable, IEnumerable
    {
        private DataColumn columnCreateBy;
        private DataColumn columnFolder;
        private DataColumn columnOwnerGroupID;
        private DataColumn columnSection;
        private DataColumn columnType;
        private DataColumn columnTypeSeq;
        private DataColumn columnUpdateBy;
        private DataColumn columnSectionName;

        public event IP.DocumentTypeRowChangeEventHandler DocumentTypeRowChanged;

        public event IP.DocumentTypeRowChangeEventHandler DocumentTypeRowChanging;

        public event IP.DocumentTypeRowChangeEventHandler DocumentTypeRowDeleted;

        public event IP.DocumentTypeRowChangeEventHandler DocumentTypeRowDeleting;

        /*[DebuggerNonUserCode]*/
        public DocumentTypeDataTable()
        {
            base.TableName = "DocumentType";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal DocumentTypeDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected DocumentTypeDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddDocumentTypeRow(IP.DocumentTypeRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.DocumentTypeRow AddDocumentTypeRow(IP.DocumentSectionRow parentDocumentSectionRowByFK_DocumentType_DocumentSection, string SectionName, string TypeSeq, string Type, string Folder, string CreateBy, string UpdateBy, string OwnerGroupID)
        {
            IP.DocumentTypeRow rowDocumentTypeRow = (IP.DocumentTypeRow) base.NewRow();
            rowDocumentTypeRow.ItemArray = new object[] { parentDocumentSectionRowByFK_DocumentType_DocumentSection[0], SectionName, TypeSeq, Type, Folder, CreateBy, UpdateBy, OwnerGroupID };
            base.Rows.Add(rowDocumentTypeRow);
            return rowDocumentTypeRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.DocumentTypeDataTable cln = (IP.DocumentTypeDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.DocumentTypeDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public IP.DocumentTypeRow FindBySectionType(string Section, string Type)
        {
            return (IP.DocumentTypeRow) base.Rows.Find(new object[] { Section, Type });
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.DocumentTypeRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "DocumentTypeDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnSection = new DataColumn("Section", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnSection);
            this.columnSectionName = new DataColumn("SectionName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnSectionName);
            this.columnTypeSeq = new DataColumn("TypeSeq", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnTypeSeq);
            this.columnType = new DataColumn("Type", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnType);
            this.columnFolder = new DataColumn("Folder", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnFolder);
            this.columnCreateBy = new DataColumn("CreateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCreateBy);
            this.columnUpdateBy = new DataColumn("UpdateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateBy);
            this.columnOwnerGroupID = new DataColumn("OwnerGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnOwnerGroupID);
            base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnSection, this.columnType }, true));
            this.columnSection.AllowDBNull = false;
            this.columnSection.MaxLength = 30;
            this.columnSectionName.AllowDBNull = false;
            this.columnSectionName.MaxLength = 100;
            this.columnTypeSeq.AllowDBNull = false;
            this.columnType.AllowDBNull = false;
            this.columnType.MaxLength = 100;
            this.columnFolder.AllowDBNull = false;
            this.columnFolder.MaxLength = 150;
            this.columnCreateBy.AllowDBNull = false;
            this.columnCreateBy.MaxLength = 30;
            this.columnUpdateBy.AllowDBNull = false;
            this.columnUpdateBy.MaxLength = 30;
            this.columnOwnerGroupID.AllowDBNull = false;
            this.columnOwnerGroupID.MaxLength = 30;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnSection = base.Columns["Section"];
            this.columnSectionName = base.Columns["SectionName"];
            this.columnTypeSeq = base.Columns["TypeSeq"];
            this.columnType = base.Columns["Type"];
            this.columnFolder = base.Columns["Folder"];
            this.columnCreateBy = base.Columns["CreateBy"];
            this.columnUpdateBy = base.Columns["UpdateBy"];
            this.columnOwnerGroupID = base.Columns["OwnerGroupID"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.DocumentTypeRow NewDocumentTypeRow()
        {
            return (IP.DocumentTypeRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.DocumentTypeRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.DocumentTypeRowChanged != null)
            {
                this.DocumentTypeRowChanged(this, new IP.DocumentTypeRowChangeEvent((IP.DocumentTypeRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.DocumentTypeRowChanging != null)
            {
                this.DocumentTypeRowChanging(this, new IP.DocumentTypeRowChangeEvent((IP.DocumentTypeRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.DocumentTypeRowDeleted != null)
            {
                this.DocumentTypeRowDeleted(this, new IP.DocumentTypeRowChangeEvent((IP.DocumentTypeRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.DocumentTypeRowDeleting != null)
            {
                this.DocumentTypeRowDeleting(this, new IP.DocumentTypeRowChangeEvent((IP.DocumentTypeRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveDocumentTypeRow(IP.DocumentTypeRow row)
        {
            base.Rows.Remove(row);
        }

        [DebuggerNonUserCode, Browsable(false)]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateByColumn
        {
            get
            {
                return this.columnCreateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn FolderColumn
        {
            get
            {
                return this.columnFolder;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.DocumentTypeRow this[int index]
        {
            get
            {
                return (IP.DocumentTypeRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OwnerGroupIDColumn
        {
            get
            {
                return this.columnOwnerGroupID;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn SectionColumn
        {
            get
            {
                return this.columnSection;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn SectionNameColumn
        {
            get
            {
                return this.columnSectionName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn TypeColumn
        {
            get
            {
                return this.columnType;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn TypeSeqColumn
        {
            get
            {
                return this.columnTypeSeq;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateByColumn
        {
            get
            {
                return this.columnUpdateBy;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class DocumentTypeRow : DataRow
    {
        private IP.DocumentTypeDataTable tableDocumentType;

        /*[DebuggerNonUserCode]*/
        internal DocumentTypeRow(DataRowBuilder rb) : base(rb)
        {
            this.tableDocumentType = (IP.DocumentTypeDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public string CreateBy
        {
            get
            {
                return (string) base[this.tableDocumentType.CreateByColumn];
            }
            set
            {
                base[this.tableDocumentType.CreateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.DocumentSectionRow DocumentSectionRow
        {
            get
            {
                return (IP.DocumentSectionRow) base.GetParentRow(base.Table.ParentRelations["FK_DocumentType_DocumentSection"]);
            }
            set
            {
                base.SetParentRow(value, base.Table.ParentRelations["FK_DocumentType_DocumentSection"]);
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Folder
        {
            get
            {
                return (string) base[this.tableDocumentType.FolderColumn];
            }
            set
            {
                base[this.tableDocumentType.FolderColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string OwnerGroupID
        {
            get
            {
                return (string) base[this.tableDocumentType.OwnerGroupIDColumn];
            }
            set
            {
                base[this.tableDocumentType.OwnerGroupIDColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Section
        {
            get
            {
                return (string) base[this.tableDocumentType.SectionColumn];
            }
            set
            {
                base[this.tableDocumentType.SectionColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string SectionName
        {
            get
            {
                return (string)base[this.tableDocumentType.SectionNameColumn];
            }
            set
            {
                base[this.tableDocumentType.SectionNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Type
        {
            get
            {
                return (string) base[this.tableDocumentType.TypeColumn];
            }
            set
            {
                base[this.tableDocumentType.TypeColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string TypeSeq
        {
            get
            {
                return (string) base[this.tableDocumentType.TypeSeqColumn];
            }
            set
            {
                base[this.tableDocumentType.TypeSeqColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string UpdateBy
        {
            get
            {
                return (string) base[this.tableDocumentType.UpdateByColumn];
            }
            set
            {
                base[this.tableDocumentType.UpdateByColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class DocumentTypeRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.DocumentTypeRow eventRow;

        /*[DebuggerNonUserCode]*/
        public DocumentTypeRowChangeEvent(IP.DocumentTypeRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.DocumentTypeRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void DocumentTypeRowChangeEventHandler(object sender, IP.DocumentTypeRowChangeEvent e);

    [Serializable, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), XmlSchemaProvider("GetTypedTableSchema")]
    public class dtRespPersonsFromUsersDataTable : DataTable, IEnumerable
    {
        private DataColumn columnRoleName;
        private DataColumn columnUserName;

        public event IP.dtRespPersonsFromUsersRowChangeEventHandler dtRespPersonsFromUsersRowChanged;

        public event IP.dtRespPersonsFromUsersRowChangeEventHandler dtRespPersonsFromUsersRowChanging;

        public event IP.dtRespPersonsFromUsersRowChangeEventHandler dtRespPersonsFromUsersRowDeleted;

        public event IP.dtRespPersonsFromUsersRowChangeEventHandler dtRespPersonsFromUsersRowDeleting;

        /*[DebuggerNonUserCode]*/
        public dtRespPersonsFromUsersDataTable()
        {
            base.TableName = "dtRespPersonsFromUsers";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal dtRespPersonsFromUsersDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected dtRespPersonsFromUsersDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AdddtRespPersonsFromUsersRow(IP.dtRespPersonsFromUsersRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.dtRespPersonsFromUsersRow AdddtRespPersonsFromUsersRow(string UserName, string RoleName)
        {
            IP.dtRespPersonsFromUsersRow rowdtRespPersonsFromUsersRow = (IP.dtRespPersonsFromUsersRow) base.NewRow();
            rowdtRespPersonsFromUsersRow.ItemArray = new object[] { UserName, RoleName };
            base.Rows.Add(rowdtRespPersonsFromUsersRow);
            return rowdtRespPersonsFromUsersRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.dtRespPersonsFromUsersDataTable cln = (IP.dtRespPersonsFromUsersDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.dtRespPersonsFromUsersDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.dtRespPersonsFromUsersRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "dtRespPersonsFromUsersDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnUserName = new DataColumn("UserName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnUserName);
            this.columnRoleName = new DataColumn("RoleName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnRoleName);
            this.columnUserName.AllowDBNull = false;
            this.columnUserName.MaxLength = 0x100;
            this.columnRoleName.AllowDBNull = false;
            this.columnRoleName.MaxLength = 0x100;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnUserName = base.Columns["UserName"];
            this.columnRoleName = base.Columns["RoleName"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.dtRespPersonsFromUsersRow NewdtRespPersonsFromUsersRow()
        {
            return (IP.dtRespPersonsFromUsersRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.dtRespPersonsFromUsersRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.dtRespPersonsFromUsersRowChanged != null)
            {
                this.dtRespPersonsFromUsersRowChanged(this, new IP.dtRespPersonsFromUsersRowChangeEvent((IP.dtRespPersonsFromUsersRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.dtRespPersonsFromUsersRowChanging != null)
            {
                this.dtRespPersonsFromUsersRowChanging(this, new IP.dtRespPersonsFromUsersRowChangeEvent((IP.dtRespPersonsFromUsersRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.dtRespPersonsFromUsersRowDeleted != null)
            {
                this.dtRespPersonsFromUsersRowDeleted(this, new IP.dtRespPersonsFromUsersRowChangeEvent((IP.dtRespPersonsFromUsersRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.dtRespPersonsFromUsersRowDeleting != null)
            {
                this.dtRespPersonsFromUsersRowDeleting(this, new IP.dtRespPersonsFromUsersRowChangeEvent((IP.dtRespPersonsFromUsersRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemovedtRespPersonsFromUsersRow(IP.dtRespPersonsFromUsersRow row)
        {
            base.Rows.Remove(row);
        }

        [DebuggerNonUserCode, Browsable(false)]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.dtRespPersonsFromUsersRow this[int index]
        {
            get
            {
                return (IP.dtRespPersonsFromUsersRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn RoleNameColumn
        {
            get
            {
                return this.columnRoleName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UserNameColumn
        {
            get
            {
                return this.columnUserName;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class dtRespPersonsFromUsersRow : DataRow
    {
        private IP.dtRespPersonsFromUsersDataTable tabledtRespPersonsFromUsers;

        /*[DebuggerNonUserCode]*/
        internal dtRespPersonsFromUsersRow(DataRowBuilder rb) : base(rb)
        {
            this.tabledtRespPersonsFromUsers = (IP.dtRespPersonsFromUsersDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public string RoleName
        {
            get
            {
                return (string) base[this.tabledtRespPersonsFromUsers.RoleNameColumn];
            }
            set
            {
                base[this.tabledtRespPersonsFromUsers.RoleNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string UserName
        {
            get
            {
                return (string) base[this.tabledtRespPersonsFromUsers.UserNameColumn];
            }
            set
            {
                base[this.tabledtRespPersonsFromUsers.UserNameColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class dtRespPersonsFromUsersRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.dtRespPersonsFromUsersRow eventRow;

        /*[DebuggerNonUserCode]*/
        public dtRespPersonsFromUsersRowChangeEvent(IP.dtRespPersonsFromUsersRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.dtRespPersonsFromUsersRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void dtRespPersonsFromUsersRowChangeEventHandler(object sender, IP.dtRespPersonsFromUsersRowChangeEvent e);

    [Serializable, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), XmlSchemaProvider("GetTypedTableSchema")]
    public class GetProductSearchSpDataTable : DataTable, IEnumerable
    {
        private DataColumn columncountry;
        private DataColumn columnprojectcode;
        private DataColumn columnstatus;
        private DataColumn columntitle;

        public event IP.GetProductSearchSpRowChangeEventHandler GetProductSearchSpRowChanged;

        public event IP.GetProductSearchSpRowChangeEventHandler GetProductSearchSpRowChanging;

        public event IP.GetProductSearchSpRowChangeEventHandler GetProductSearchSpRowDeleted;

        public event IP.GetProductSearchSpRowChangeEventHandler GetProductSearchSpRowDeleting;

        /*[DebuggerNonUserCode]*/
        public GetProductSearchSpDataTable()
        {
            base.TableName = "GetProductSearchSp";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal GetProductSearchSpDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected GetProductSearchSpDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddGetProductSearchSpRow(IP.GetProductSearchSpRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.GetProductSearchSpRow AddGetProductSearchSpRow(string projectcode, string country, string title, string status)
        {
            IP.GetProductSearchSpRow rowGetProductSearchSpRow = (IP.GetProductSearchSpRow) base.NewRow();
            rowGetProductSearchSpRow.ItemArray = new object[] { projectcode, country, title, status };
            base.Rows.Add(rowGetProductSearchSpRow);
            return rowGetProductSearchSpRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.GetProductSearchSpDataTable cln = (IP.GetProductSearchSpDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.GetProductSearchSpDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.GetProductSearchSpRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "GetProductSearchSpDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnprojectcode = new DataColumn("projectcode", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnprojectcode);
            this.columncountry = new DataColumn("country", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columncountry);
            this.columntitle = new DataColumn("title", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columntitle);
            this.columnstatus = new DataColumn("status", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnstatus);
            this.columnprojectcode.MaxLength = 30;
            this.columncountry.MaxLength = 30;
            this.columntitle.MaxLength = 30;
            this.columnstatus.MaxLength = 30;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnprojectcode = base.Columns["projectcode"];
            this.columncountry = base.Columns["country"];
            this.columntitle = base.Columns["title"];
            this.columnstatus = base.Columns["status"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.GetProductSearchSpRow NewGetProductSearchSpRow()
        {
            return (IP.GetProductSearchSpRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.GetProductSearchSpRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.GetProductSearchSpRowChanged != null)
            {
                this.GetProductSearchSpRowChanged(this, new IP.GetProductSearchSpRowChangeEvent((IP.GetProductSearchSpRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.GetProductSearchSpRowChanging != null)
            {
                this.GetProductSearchSpRowChanging(this, new IP.GetProductSearchSpRowChangeEvent((IP.GetProductSearchSpRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.GetProductSearchSpRowDeleted != null)
            {
                this.GetProductSearchSpRowDeleted(this, new IP.GetProductSearchSpRowChangeEvent((IP.GetProductSearchSpRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.GetProductSearchSpRowDeleting != null)
            {
                this.GetProductSearchSpRowDeleting(this, new IP.GetProductSearchSpRowChangeEvent((IP.GetProductSearchSpRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveGetProductSearchSpRow(IP.GetProductSearchSpRow row)
        {
            base.Rows.Remove(row);
        }

        [DebuggerNonUserCode, Browsable(false)]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn countryColumn
        {
            get
            {
                return this.columncountry;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.GetProductSearchSpRow this[int index]
        {
            get
            {
                return (IP.GetProductSearchSpRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn projectcodeColumn
        {
            get
            {
                return this.columnprojectcode;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn statusColumn
        {
            get
            {
                return this.columnstatus;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn titleColumn
        {
            get
            {
                return this.columntitle;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class GetProductSearchSpRow : DataRow
    {
        private IP.GetProductSearchSpDataTable tableGetProductSearchSp;

        /*[DebuggerNonUserCode]*/
        internal GetProductSearchSpRow(DataRowBuilder rb) : base(rb)
        {
            this.tableGetProductSearchSp = (IP.GetProductSearchSpDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public bool IscountryNull()
        {
            return base.IsNull(this.tableGetProductSearchSp.countryColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsprojectcodeNull()
        {
            return base.IsNull(this.tableGetProductSearchSp.projectcodeColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsstatusNull()
        {
            return base.IsNull(this.tableGetProductSearchSp.statusColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IstitleNull()
        {
            return base.IsNull(this.tableGetProductSearchSp.titleColumn);
        }

        /*[DebuggerNonUserCode]*/
        public void SetcountryNull()
        {
            base[this.tableGetProductSearchSp.countryColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetprojectcodeNull()
        {
            base[this.tableGetProductSearchSp.projectcodeColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetstatusNull()
        {
            base[this.tableGetProductSearchSp.statusColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SettitleNull()
        {
            base[this.tableGetProductSearchSp.titleColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public string country
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableGetProductSearchSp.countryColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'country' in table 'GetProductSearchSp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetProductSearchSp.countryColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string projectcode
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableGetProductSearchSp.projectcodeColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'projectcode' in table 'GetProductSearchSp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetProductSearchSp.projectcodeColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string status
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableGetProductSearchSp.statusColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'status' in table 'GetProductSearchSp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetProductSearchSp.statusColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string title
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableGetProductSearchSp.titleColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'title' in table 'GetProductSearchSp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetProductSearchSp.titleColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class GetProductSearchSpRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.GetProductSearchSpRow eventRow;

        /*[DebuggerNonUserCode]*/
        public GetProductSearchSpRowChangeEvent(IP.GetProductSearchSpRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.GetProductSearchSpRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void GetProductSearchSpRowChangeEventHandler(object sender, IP.GetProductSearchSpRowChangeEvent e);

    [Serializable, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), XmlSchemaProvider("GetTypedTableSchema")]
    public class GetReminder2SpDataTable : DataTable, IEnumerable
    {
        private DataColumn columnACMEDueDate;
        private DataColumn columnAgentDueDate;
        private DataColumn columnApplicant;
        private DataColumn columnCountry;
        private DataColumn columnHeadingName;
        private DataColumn columnOverDue;
        private DataColumn columnPCTDueDate;
        private DataColumn columnPriorityDate;
        private DataColumn columnProjectCode;
        private DataColumn columnProjectGroupID;
        private DataColumn columnRemark;
        private DataColumn columnResponsiblePerson;
        private DataColumn columnTitle;
        private DataColumn columnType;

        public event IP.GetReminder2SpRowChangeEventHandler GetReminder2SpRowChanged;

        public event IP.GetReminder2SpRowChangeEventHandler GetReminder2SpRowChanging;

        public event IP.GetReminder2SpRowChangeEventHandler GetReminder2SpRowDeleted;

        public event IP.GetReminder2SpRowChangeEventHandler GetReminder2SpRowDeleting;

        /*[DebuggerNonUserCode]*/
        public GetReminder2SpDataTable()
        {
            base.TableName = "GetReminder2Sp";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal GetReminder2SpDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected GetReminder2SpDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddGetReminder2SpRow(IP.GetReminder2SpRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.GetReminder2SpRow AddGetReminder2SpRow(string ProjectCode, string Applicant, string Country, string Title, string HeadingName, DateTime ACMEDueDate, DateTime AgentDueDate, string Type, DateTime PriorityDate, string ProjectGroupID, string ResponsiblePerson, string Remark, int OverDue, DateTime PCTDueDate)
        {
            IP.GetReminder2SpRow rowGetReminder2SpRow = (IP.GetReminder2SpRow) base.NewRow();
            rowGetReminder2SpRow.ItemArray = new object[] { ProjectCode, Applicant, Country, Title, HeadingName, ACMEDueDate, AgentDueDate, Type, PriorityDate, ProjectGroupID, ResponsiblePerson, Remark, OverDue, PCTDueDate };
            base.Rows.Add(rowGetReminder2SpRow);
            return rowGetReminder2SpRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.GetReminder2SpDataTable cln = (IP.GetReminder2SpDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.GetReminder2SpDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.GetReminder2SpRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "GetReminder2SpDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnProjectCode = new DataColumn("ProjectCode", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnProjectCode);
            this.columnApplicant = new DataColumn("Applicant", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnApplicant);
            this.columnCountry = new DataColumn("Country", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCountry);
            this.columnTitle = new DataColumn("Title", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnTitle);
            this.columnHeadingName = new DataColumn("HeadingName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnHeadingName);
            this.columnACMEDueDate = new DataColumn("ACMEDueDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnACMEDueDate);
            this.columnAgentDueDate = new DataColumn("AgentDueDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnAgentDueDate);
            this.columnType = new DataColumn("Type", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnType);
            this.columnPriorityDate = new DataColumn("PriorityDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnPriorityDate);
            this.columnProjectGroupID = new DataColumn("ProjectGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnProjectGroupID);
            this.columnResponsiblePerson = new DataColumn("ResponsiblePerson", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnResponsiblePerson);
            this.columnRemark = new DataColumn("Remark", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnRemark);
            this.columnOverDue = new DataColumn("OverDue", typeof(int), null, MappingType.Element);
            base.Columns.Add(this.columnOverDue);
            this.columnPCTDueDate = new DataColumn("PCTDueDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnPCTDueDate);
            this.columnProjectCode.AllowDBNull = false;
            this.columnProjectCode.MaxLength = 30;
            this.columnApplicant.MaxLength = 30;
            this.columnCountry.MaxLength = 100;
            this.columnTitle.MaxLength = 30;
            this.columnHeadingName.ReadOnly = true;
            this.columnHeadingName.MaxLength = 0x83;
            this.columnType.AllowDBNull = false;
            this.columnType.MaxLength = 30;
            this.columnPriorityDate.ReadOnly = true;
            this.columnProjectGroupID.MaxLength = 30;
            this.columnResponsiblePerson.ReadOnly = true;
            this.columnResponsiblePerson.MaxLength = 30;
            this.columnRemark.MaxLength = 100;
            this.columnOverDue.ReadOnly = true;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnProjectCode = base.Columns["ProjectCode"];
            this.columnApplicant = base.Columns["Applicant"];
            this.columnCountry = base.Columns["Country"];
            this.columnTitle = base.Columns["Title"];
            this.columnHeadingName = base.Columns["HeadingName"];
            this.columnACMEDueDate = base.Columns["ACMEDueDate"];
            this.columnAgentDueDate = base.Columns["AgentDueDate"];
            this.columnType = base.Columns["Type"];
            this.columnPriorityDate = base.Columns["PriorityDate"];
            this.columnProjectGroupID = base.Columns["ProjectGroupID"];
            this.columnResponsiblePerson = base.Columns["ResponsiblePerson"];
            this.columnRemark = base.Columns["Remark"];
            this.columnOverDue = base.Columns["OverDue"];
            this.columnPCTDueDate = base.Columns["PCTDueDate"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.GetReminder2SpRow NewGetReminder2SpRow()
        {
            return (IP.GetReminder2SpRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.GetReminder2SpRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.GetReminder2SpRowChanged != null)
            {
                this.GetReminder2SpRowChanged(this, new IP.GetReminder2SpRowChangeEvent((IP.GetReminder2SpRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.GetReminder2SpRowChanging != null)
            {
                this.GetReminder2SpRowChanging(this, new IP.GetReminder2SpRowChangeEvent((IP.GetReminder2SpRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.GetReminder2SpRowDeleted != null)
            {
                this.GetReminder2SpRowDeleted(this, new IP.GetReminder2SpRowChangeEvent((IP.GetReminder2SpRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.GetReminder2SpRowDeleting != null)
            {
                this.GetReminder2SpRowDeleting(this, new IP.GetReminder2SpRowChangeEvent((IP.GetReminder2SpRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveGetReminder2SpRow(IP.GetReminder2SpRow row)
        {
            base.Rows.Remove(row);
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ACMEDueDateColumn
        {
            get
            {
                return this.columnACMEDueDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentDueDateColumn
        {
            get
            {
                return this.columnAgentDueDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ApplicantColumn
        {
            get
            {
                return this.columnApplicant;
            }
        }

        [DebuggerNonUserCode, Browsable(false)]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CountryColumn
        {
            get
            {
                return this.columnCountry;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn HeadingNameColumn
        {
            get
            {
                return this.columnHeadingName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.GetReminder2SpRow this[int index]
        {
            get
            {
                return (IP.GetReminder2SpRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OverDueColumn
        {
            get
            {
                return this.columnOverDue;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn PCTDueDateColumn
        {
            get
            {
                return this.columnPCTDueDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn PriorityDateColumn
        {
            get
            {
                return this.columnPriorityDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ProjectCodeColumn
        {
            get
            {
                return this.columnProjectCode;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ProjectGroupIDColumn
        {
            get
            {
                return this.columnProjectGroupID;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn RemarkColumn
        {
            get
            {
                return this.columnRemark;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ResponsiblePersonColumn
        {
            get
            {
                return this.columnResponsiblePerson;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn TitleColumn
        {
            get
            {
                return this.columnTitle;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn TypeColumn
        {
            get
            {
                return this.columnType;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class GetReminder2SpRow : DataRow
    {
        private IP.GetReminder2SpDataTable tableGetReminder2Sp;

        /*[DebuggerNonUserCode]*/
        internal GetReminder2SpRow(DataRowBuilder rb) : base(rb)
        {
            this.tableGetReminder2Sp = (IP.GetReminder2SpDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProductProjectRow[] GetProductProjectRows()
        {
            return (IP.ProductProjectRow[]) base.GetChildRows(base.Table.ChildRelations["FK_ProductProject_Project1"]);
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectDocumentRow[] GetProjectDocumentRows()
        {
            return (IP.ProjectDocumentRow[]) base.GetChildRows(base.Table.ChildRelations["FK_ProjectDocument_Project1"]);
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectExpensesRow[] GetProjectExpensesRows()
        {
            return (IP.ProjectExpensesRow[]) base.GetChildRows(base.Table.ChildRelations["FK_ProjectExpenses_Project1"]);
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectSupervisorRow[] GetProjectSupervisorRows()
        {
            return (IP.ProjectSupervisorRow[]) base.GetChildRows(base.Table.ChildRelations["FK_ProjectResponsiblePerson_Project1"]);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsACMEDueDateNull()
        {
            return base.IsNull(this.tableGetReminder2Sp.ACMEDueDateColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentDueDateNull()
        {
            return base.IsNull(this.tableGetReminder2Sp.AgentDueDateColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsApplicantNull()
        {
            return base.IsNull(this.tableGetReminder2Sp.ApplicantColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsCountryNull()
        {
            return base.IsNull(this.tableGetReminder2Sp.CountryColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsHeadingNameNull()
        {
            return base.IsNull(this.tableGetReminder2Sp.HeadingNameColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsOverDueNull()
        {
            return base.IsNull(this.tableGetReminder2Sp.OverDueColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsPCTDueDateNull()
        {
            return base.IsNull(this.tableGetReminder2Sp.PCTDueDateColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsPriorityDateNull()
        {
            return base.IsNull(this.tableGetReminder2Sp.PriorityDateColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsProjectGroupIDNull()
        {
            return base.IsNull(this.tableGetReminder2Sp.ProjectGroupIDColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsRemarkNull()
        {
            return base.IsNull(this.tableGetReminder2Sp.RemarkColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsResponsiblePersonNull()
        {
            return base.IsNull(this.tableGetReminder2Sp.ResponsiblePersonColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsTitleNull()
        {
            return base.IsNull(this.tableGetReminder2Sp.TitleColumn);
        }

        /*[DebuggerNonUserCode]*/
        public void SetACMEDueDateNull()
        {
            base[this.tableGetReminder2Sp.ACMEDueDateColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentDueDateNull()
        {
            base[this.tableGetReminder2Sp.AgentDueDateColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetApplicantNull()
        {
            base[this.tableGetReminder2Sp.ApplicantColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetCountryNull()
        {
            base[this.tableGetReminder2Sp.CountryColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetHeadingNameNull()
        {
            base[this.tableGetReminder2Sp.HeadingNameColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetOverDueNull()
        {
            base[this.tableGetReminder2Sp.OverDueColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetPCTDueDateNull()
        {
            base[this.tableGetReminder2Sp.PCTDueDateColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetPriorityDateNull()
        {
            base[this.tableGetReminder2Sp.PriorityDateColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetProjectGroupIDNull()
        {
            base[this.tableGetReminder2Sp.ProjectGroupIDColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetRemarkNull()
        {
            base[this.tableGetReminder2Sp.RemarkColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetResponsiblePersonNull()
        {
            base[this.tableGetReminder2Sp.ResponsiblePersonColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetTitleNull()
        {
            base[this.tableGetReminder2Sp.TitleColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public DateTime ACMEDueDate
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableGetReminder2Sp.ACMEDueDateColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ACMEDueDate' in table 'GetReminder2Sp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminder2Sp.ACMEDueDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime AgentDueDate
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableGetReminder2Sp.AgentDueDateColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentDueDate' in table 'GetReminder2Sp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminder2Sp.AgentDueDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Applicant
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableGetReminder2Sp.ApplicantColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Applicant' in table 'GetReminder2Sp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminder2Sp.ApplicantColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Country
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableGetReminder2Sp.CountryColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Country' in table 'GetReminder2Sp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminder2Sp.CountryColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string HeadingName
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableGetReminder2Sp.HeadingNameColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'HeadingName' in table 'GetReminder2Sp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminder2Sp.HeadingNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public int OverDue
        {
            get
            {
                int ret;
                try
                {
                    ret = (int) base[this.tableGetReminder2Sp.OverDueColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'OverDue' in table 'GetReminder2Sp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminder2Sp.OverDueColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime PCTDueDate
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableGetReminder2Sp.PCTDueDateColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'PCTDueDate' in table 'GetReminder2Sp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminder2Sp.PCTDueDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime PriorityDate
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableGetReminder2Sp.PriorityDateColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'PriorityDate' in table 'GetReminder2Sp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminder2Sp.PriorityDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ProjectCode
        {
            get
            {
                return (string) base[this.tableGetReminder2Sp.ProjectCodeColumn];
            }
            set
            {
                base[this.tableGetReminder2Sp.ProjectCodeColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ProjectGroupID
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableGetReminder2Sp.ProjectGroupIDColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ProjectGroupID' in table 'GetReminder2Sp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminder2Sp.ProjectGroupIDColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Remark
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableGetReminder2Sp.RemarkColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Remark' in table 'GetReminder2Sp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminder2Sp.RemarkColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ResponsiblePerson
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableGetReminder2Sp.ResponsiblePersonColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ResponsiblePerson' in table 'GetReminder2Sp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminder2Sp.ResponsiblePersonColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Title
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableGetReminder2Sp.TitleColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Title' in table 'GetReminder2Sp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminder2Sp.TitleColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Type
        {
            get
            {
                return (string) base[this.tableGetReminder2Sp.TypeColumn];
            }
            set
            {
                base[this.tableGetReminder2Sp.TypeColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class GetReminder2SpRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.GetReminder2SpRow eventRow;

        /*[DebuggerNonUserCode]*/
        public GetReminder2SpRowChangeEvent(IP.GetReminder2SpRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.GetReminder2SpRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void GetReminder2SpRowChangeEventHandler(object sender, IP.GetReminder2SpRowChangeEvent e);

    [Serializable, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), XmlSchemaProvider("GetTypedTableSchema")]
    public class GetReminderSpDataTable : DataTable, IEnumerable
    {
        private DataColumn columnACMEDueDate;
        private DataColumn columnACMEDueDate1;
        private DataColumn columnAgentDueDate;
        private DataColumn columnApplicant;
        private DataColumn columnCompanyDueDate;
        private DataColumn columnCountry;
        private DataColumn columnDummyValue;
        private DataColumn columnHeadingCode;
        private DataColumn columnHeadingName;
        private DataColumn columnOverDue;
        private DataColumn columnProjectCode;
        private DataColumn columnProjectGroupId;
        private DataColumn columnRemark;
        private DataColumn columnResponsiblePerson;
        private DataColumn columnRowPointer;
        private DataColumn columnTitle;
        private DataColumn columnType;

        public event IP.GetReminderSpRowChangeEventHandler GetReminderSpRowChanged;

        public event IP.GetReminderSpRowChangeEventHandler GetReminderSpRowChanging;

        public event IP.GetReminderSpRowChangeEventHandler GetReminderSpRowDeleted;

        public event IP.GetReminderSpRowChangeEventHandler GetReminderSpRowDeleting;

        /*[DebuggerNonUserCode]*/
        public GetReminderSpDataTable()
        {
            base.TableName = "GetReminderSp";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal GetReminderSpDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected GetReminderSpDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddGetReminderSpRow(IP.GetReminderSpRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.GetReminderSpRow AddGetReminderSpRow(string ProjectCode, string Applicant, string Country, string Title, string HeadingName, DateTime ACMEDueDate, string ProjectGroupId, string Type, DateTime CompanyDueDate, DateTime AgentDueDate, string Remark, string ResponsiblePerson, DateTime ACMEDueDate1, string DummyValue, string HeadingCode, string RowPointer, int OverDue)
        {
            IP.GetReminderSpRow rowGetReminderSpRow = (IP.GetReminderSpRow) base.NewRow();
            rowGetReminderSpRow.ItemArray = new object[] { 
                ProjectCode, Applicant, Country, Title, HeadingName, ACMEDueDate, ProjectGroupId, Type, CompanyDueDate, AgentDueDate, Remark, ResponsiblePerson, ACMEDueDate1, DummyValue, HeadingCode, RowPointer, 
                OverDue
             };
            base.Rows.Add(rowGetReminderSpRow);
            return rowGetReminderSpRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.GetReminderSpDataTable cln = (IP.GetReminderSpDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.GetReminderSpDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public IP.GetReminderSpRow FindByRowPointer(string RowPointer)
        {
            return (IP.GetReminderSpRow) base.Rows.Find(new object[] { RowPointer });
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.GetReminderSpRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "GetReminderSpDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnProjectCode = new DataColumn("ProjectCode", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnProjectCode);
            this.columnApplicant = new DataColumn("Applicant", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnApplicant);
            this.columnCountry = new DataColumn("Country", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCountry);
            this.columnTitle = new DataColumn("Title", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnTitle);
            this.columnHeadingName = new DataColumn("HeadingName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnHeadingName);
            this.columnACMEDueDate = new DataColumn("ACMEDueDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnACMEDueDate);
            this.columnProjectGroupId = new DataColumn("ProjectGroupId", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnProjectGroupId);
            this.columnType = new DataColumn("Type", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnType);
            this.columnCompanyDueDate = new DataColumn("CompanyDueDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnCompanyDueDate);
            this.columnAgentDueDate = new DataColumn("AgentDueDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnAgentDueDate);
            this.columnRemark = new DataColumn("Remark", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnRemark);
            this.columnResponsiblePerson = new DataColumn("ResponsiblePerson", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnResponsiblePerson);
            this.columnACMEDueDate1 = new DataColumn("ACMEDueDate1", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnACMEDueDate1);
            this.columnDummyValue = new DataColumn("DummyValue", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnDummyValue);
            this.columnHeadingCode = new DataColumn("HeadingCode", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnHeadingCode);
            this.columnRowPointer = new DataColumn("RowPointer", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnRowPointer);
            this.columnOverDue = new DataColumn("OverDue", typeof(int), null, MappingType.Element);
            base.Columns.Add(this.columnOverDue);
            base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnRowPointer }, true));
            this.columnProjectCode.AllowDBNull = false;
            this.columnProjectCode.MaxLength = 30;
            this.columnApplicant.MaxLength = 30;
            this.columnCountry.MaxLength = 100;
            this.columnTitle.MaxLength = 60;
            this.columnHeadingName.MaxLength = 100;
            this.columnType.AllowDBNull = false;
            this.columnDummyValue.ReadOnly = true;
            this.columnDummyValue.MaxLength = 1;
            this.columnHeadingCode.AllowDBNull = false;
            this.columnHeadingCode.MaxLength = 30;
            this.columnRowPointer.AllowDBNull = false;
            this.columnRowPointer.ReadOnly = true;
            this.columnRowPointer.Unique = true;
            this.columnRowPointer.MaxLength = 100;
            this.columnOverDue.ReadOnly = true;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnProjectCode = base.Columns["ProjectCode"];
            this.columnApplicant = base.Columns["Applicant"];
            this.columnCountry = base.Columns["Country"];
            this.columnTitle = base.Columns["Title"];
            this.columnHeadingName = base.Columns["HeadingName"];
            this.columnACMEDueDate = base.Columns["ACMEDueDate"];
            this.columnProjectGroupId = base.Columns["ProjectGroupId"];
            this.columnType = base.Columns["Type"];
            this.columnCompanyDueDate = base.Columns["CompanyDueDate"];
            this.columnAgentDueDate = base.Columns["AgentDueDate"];
            this.columnRemark = base.Columns["Remark"];
            this.columnResponsiblePerson = base.Columns["ResponsiblePerson"];
            this.columnACMEDueDate1 = base.Columns["ACMEDueDate1"];
            this.columnDummyValue = base.Columns["DummyValue"];
            this.columnHeadingCode = base.Columns["HeadingCode"];
            this.columnRowPointer = base.Columns["RowPointer"];
            this.columnOverDue = base.Columns["OverDue"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.GetReminderSpRow NewGetReminderSpRow()
        {
            return (IP.GetReminderSpRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.GetReminderSpRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.GetReminderSpRowChanged != null)
            {
                this.GetReminderSpRowChanged(this, new IP.GetReminderSpRowChangeEvent((IP.GetReminderSpRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.GetReminderSpRowChanging != null)
            {
                this.GetReminderSpRowChanging(this, new IP.GetReminderSpRowChangeEvent((IP.GetReminderSpRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.GetReminderSpRowDeleted != null)
            {
                this.GetReminderSpRowDeleted(this, new IP.GetReminderSpRowChangeEvent((IP.GetReminderSpRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.GetReminderSpRowDeleting != null)
            {
                this.GetReminderSpRowDeleting(this, new IP.GetReminderSpRowChangeEvent((IP.GetReminderSpRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveGetReminderSpRow(IP.GetReminderSpRow row)
        {
            base.Rows.Remove(row);
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ACMEDueDate1Column
        {
            get
            {
                return this.columnACMEDueDate1;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ACMEDueDateColumn
        {
            get
            {
                return this.columnACMEDueDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentDueDateColumn
        {
            get
            {
                return this.columnAgentDueDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ApplicantColumn
        {
            get
            {
                return this.columnApplicant;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CompanyDueDateColumn
        {
            get
            {
                return this.columnCompanyDueDate;
            }
        }

        [DebuggerNonUserCode, Browsable(false)]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CountryColumn
        {
            get
            {
                return this.columnCountry;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DummyValueColumn
        {
            get
            {
                return this.columnDummyValue;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn HeadingCodeColumn
        {
            get
            {
                return this.columnHeadingCode;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn HeadingNameColumn
        {
            get
            {
                return this.columnHeadingName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.GetReminderSpRow this[int index]
        {
            get
            {
                return (IP.GetReminderSpRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OverDueColumn
        {
            get
            {
                return this.columnOverDue;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ProjectCodeColumn
        {
            get
            {
                return this.columnProjectCode;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ProjectGroupIdColumn
        {
            get
            {
                return this.columnProjectGroupId;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn RemarkColumn
        {
            get
            {
                return this.columnRemark;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ResponsiblePersonColumn
        {
            get
            {
                return this.columnResponsiblePerson;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn RowPointerColumn
        {
            get
            {
                return this.columnRowPointer;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn TitleColumn
        {
            get
            {
                return this.columnTitle;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn TypeColumn
        {
            get
            {
                return this.columnType;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class GetReminderSpRow : DataRow
    {
        private IP.GetReminderSpDataTable tableGetReminderSp;

        /*[DebuggerNonUserCode]*/
        internal GetReminderSpRow(DataRowBuilder rb) : base(rb)
        {
            this.tableGetReminderSp = (IP.GetReminderSpDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public bool IsACMEDueDate1Null()
        {
            return base.IsNull(this.tableGetReminderSp.ACMEDueDate1Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsACMEDueDateNull()
        {
            return base.IsNull(this.tableGetReminderSp.ACMEDueDateColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentDueDateNull()
        {
            return base.IsNull(this.tableGetReminderSp.AgentDueDateColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsApplicantNull()
        {
            return base.IsNull(this.tableGetReminderSp.ApplicantColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsCompanyDueDateNull()
        {
            return base.IsNull(this.tableGetReminderSp.CompanyDueDateColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsCountryNull()
        {
            return base.IsNull(this.tableGetReminderSp.CountryColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDummyValueNull()
        {
            return base.IsNull(this.tableGetReminderSp.DummyValueColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsHeadingNameNull()
        {
            return base.IsNull(this.tableGetReminderSp.HeadingNameColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsOverDueNull()
        {
            return base.IsNull(this.tableGetReminderSp.OverDueColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsProjectGroupIdNull()
        {
            return base.IsNull(this.tableGetReminderSp.ProjectGroupIdColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsRemarkNull()
        {
            return base.IsNull(this.tableGetReminderSp.RemarkColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsResponsiblePersonNull()
        {
            return base.IsNull(this.tableGetReminderSp.ResponsiblePersonColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsTitleNull()
        {
            return base.IsNull(this.tableGetReminderSp.TitleColumn);
        }

        /*[DebuggerNonUserCode]*/
        public void SetACMEDueDate1Null()
        {
            base[this.tableGetReminderSp.ACMEDueDate1Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetACMEDueDateNull()
        {
            base[this.tableGetReminderSp.ACMEDueDateColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentDueDateNull()
        {
            base[this.tableGetReminderSp.AgentDueDateColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetApplicantNull()
        {
            base[this.tableGetReminderSp.ApplicantColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetCompanyDueDateNull()
        {
            base[this.tableGetReminderSp.CompanyDueDateColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetCountryNull()
        {
            base[this.tableGetReminderSp.CountryColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetDummyValueNull()
        {
            base[this.tableGetReminderSp.DummyValueColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetHeadingNameNull()
        {
            base[this.tableGetReminderSp.HeadingNameColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetOverDueNull()
        {
            base[this.tableGetReminderSp.OverDueColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetProjectGroupIdNull()
        {
            base[this.tableGetReminderSp.ProjectGroupIdColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetRemarkNull()
        {
            base[this.tableGetReminderSp.RemarkColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetResponsiblePersonNull()
        {
            base[this.tableGetReminderSp.ResponsiblePersonColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetTitleNull()
        {
            base[this.tableGetReminderSp.TitleColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public DateTime ACMEDueDate
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableGetReminderSp.ACMEDueDateColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ACMEDueDate' in table 'GetReminderSp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminderSp.ACMEDueDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime ACMEDueDate1
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableGetReminderSp.ACMEDueDate1Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ACMEDueDate1' in table 'GetReminderSp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminderSp.ACMEDueDate1Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime AgentDueDate
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableGetReminderSp.AgentDueDateColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentDueDate' in table 'GetReminderSp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminderSp.AgentDueDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Applicant
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableGetReminderSp.ApplicantColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Applicant' in table 'GetReminderSp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminderSp.ApplicantColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime CompanyDueDate
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableGetReminderSp.CompanyDueDateColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'CompanyDueDate' in table 'GetReminderSp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminderSp.CompanyDueDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Country
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableGetReminderSp.CountryColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Country' in table 'GetReminderSp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminderSp.CountryColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string DummyValue
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableGetReminderSp.DummyValueColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'DummyValue' in table 'GetReminderSp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminderSp.DummyValueColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string HeadingCode
        {
            get
            {
                return (string) base[this.tableGetReminderSp.HeadingCodeColumn];
            }
            set
            {
                base[this.tableGetReminderSp.HeadingCodeColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string HeadingName
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableGetReminderSp.HeadingNameColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'HeadingName' in table 'GetReminderSp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminderSp.HeadingNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public int OverDue
        {
            get
            {
                int ret;
                try
                {
                    ret = (int) base[this.tableGetReminderSp.OverDueColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'OverDue' in table 'GetReminderSp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminderSp.OverDueColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ProjectCode
        {
            get
            {
                return (string) base[this.tableGetReminderSp.ProjectCodeColumn];
            }
            set
            {
                base[this.tableGetReminderSp.ProjectCodeColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ProjectGroupId
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableGetReminderSp.ProjectGroupIdColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ProjectGroupId' in table 'GetReminderSp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminderSp.ProjectGroupIdColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Remark
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableGetReminderSp.RemarkColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Remark' in table 'GetReminderSp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminderSp.RemarkColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ResponsiblePerson
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableGetReminderSp.ResponsiblePersonColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ResponsiblePerson' in table 'GetReminderSp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminderSp.ResponsiblePersonColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string RowPointer
        {
            get
            {
                return (string) base[this.tableGetReminderSp.RowPointerColumn];
            }
            set
            {
                base[this.tableGetReminderSp.RowPointerColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Title
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableGetReminderSp.TitleColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Title' in table 'GetReminderSp' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableGetReminderSp.TitleColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Type
        {
            get
            {
                return (string) base[this.tableGetReminderSp.TypeColumn];
            }
            set
            {
                base[this.tableGetReminderSp.TypeColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class GetReminderSpRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.GetReminderSpRow eventRow;

        /*[DebuggerNonUserCode]*/
        public GetReminderSpRowChangeEvent(IP.GetReminderSpRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.GetReminderSpRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void GetReminderSpRowChangeEventHandler(object sender, IP.GetReminderSpRowChangeEvent e);

    [Serializable, XmlSchemaProvider("GetTypedTableSchema"), GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class HeadingSetDataTable : DataTable, IEnumerable
    {
        private DataColumn columnCreateBy;
        private DataColumn columnHeadingSet;
        private DataColumn columnHeadingSetName;
        private DataColumn columnOwnerGroupID;
        private DataColumn columnUpdateBy;

        public event IP.HeadingSetRowChangeEventHandler HeadingSetRowChanged;

        public event IP.HeadingSetRowChangeEventHandler HeadingSetRowChanging;

        public event IP.HeadingSetRowChangeEventHandler HeadingSetRowDeleted;

        public event IP.HeadingSetRowChangeEventHandler HeadingSetRowDeleting;

        /*[DebuggerNonUserCode]*/
        public HeadingSetDataTable()
        {
            base.TableName = "HeadingSet";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal HeadingSetDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected HeadingSetDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddHeadingSetRow(IP.HeadingSetRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.HeadingSetRow AddHeadingSetRow(string HeadingSet, string HeadingSetName, string CreateBy, string UpdateBy, string OwnerGroupID)
        {
            IP.HeadingSetRow rowHeadingSetRow = (IP.HeadingSetRow) base.NewRow();
            rowHeadingSetRow.ItemArray = new object[] { HeadingSet, HeadingSetName, CreateBy, UpdateBy, OwnerGroupID };
            base.Rows.Add(rowHeadingSetRow);
            return rowHeadingSetRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.HeadingSetDataTable cln = (IP.HeadingSetDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.HeadingSetDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public IP.HeadingSetRow FindByHeadingSet(string HeadingSet)
        {
            return (IP.HeadingSetRow) base.Rows.Find(new object[] { HeadingSet });
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.HeadingSetRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "HeadingSetDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnHeadingSet = new DataColumn("HeadingSet", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnHeadingSet);
            this.columnHeadingSetName = new DataColumn("HeadingSetName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnHeadingSetName);
            this.columnCreateBy = new DataColumn("CreateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCreateBy);
            this.columnUpdateBy = new DataColumn("UpdateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateBy);
            this.columnOwnerGroupID = new DataColumn("OwnerGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnOwnerGroupID);
            base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnHeadingSet }, true));
            this.columnHeadingSet.AllowDBNull = false;
            this.columnHeadingSet.Unique = true;
            this.columnHeadingSet.MaxLength = 30;
            this.columnHeadingSetName.MaxLength = 100;
            this.columnCreateBy.AllowDBNull = false;
            this.columnCreateBy.MaxLength = 30;
            this.columnUpdateBy.AllowDBNull = false;
            this.columnUpdateBy.MaxLength = 30;
            this.columnOwnerGroupID.AllowDBNull = false;
            this.columnOwnerGroupID.MaxLength = 30;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnHeadingSet = base.Columns["HeadingSet"];
            this.columnHeadingSetName = base.Columns["HeadingSetName"];
            this.columnCreateBy = base.Columns["CreateBy"];
            this.columnUpdateBy = base.Columns["UpdateBy"];
            this.columnOwnerGroupID = base.Columns["OwnerGroupID"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.HeadingSetRow NewHeadingSetRow()
        {
            return (IP.HeadingSetRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.HeadingSetRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.HeadingSetRowChanged != null)
            {
                this.HeadingSetRowChanged(this, new IP.HeadingSetRowChangeEvent((IP.HeadingSetRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.HeadingSetRowChanging != null)
            {
                this.HeadingSetRowChanging(this, new IP.HeadingSetRowChangeEvent((IP.HeadingSetRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.HeadingSetRowDeleted != null)
            {
                this.HeadingSetRowDeleted(this, new IP.HeadingSetRowChangeEvent((IP.HeadingSetRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.HeadingSetRowDeleting != null)
            {
                this.HeadingSetRowDeleting(this, new IP.HeadingSetRowChangeEvent((IP.HeadingSetRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveHeadingSetRow(IP.HeadingSetRow row)
        {
            base.Rows.Remove(row);
        }

        [DebuggerNonUserCode, Browsable(false)]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateByColumn
        {
            get
            {
                return this.columnCreateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn HeadingSetColumn
        {
            get
            {
                return this.columnHeadingSet;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn HeadingSetNameColumn
        {
            get
            {
                return this.columnHeadingSetName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.HeadingSetRow this[int index]
        {
            get
            {
                return (IP.HeadingSetRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OwnerGroupIDColumn
        {
            get
            {
                return this.columnOwnerGroupID;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateByColumn
        {
            get
            {
                return this.columnUpdateBy;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class HeadingSetRow : DataRow
    {
        private IP.HeadingSetDataTable tableHeadingSet;

        /*[DebuggerNonUserCode]*/
        internal HeadingSetRow(DataRowBuilder rb) : base(rb)
        {
            this.tableHeadingSet = (IP.HeadingSetDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public bool IsHeadingSetNameNull()
        {
            return base.IsNull(this.tableHeadingSet.HeadingSetNameColumn);
        }

        /*[DebuggerNonUserCode]*/
        public void SetHeadingSetNameNull()
        {
            base[this.tableHeadingSet.HeadingSetNameColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public string CreateBy
        {
            get
            {
                return (string) base[this.tableHeadingSet.CreateByColumn];
            }
            set
            {
                base[this.tableHeadingSet.CreateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string HeadingSet
        {
            get
            {
                return (string) base[this.tableHeadingSet.HeadingSetColumn];
            }
            set
            {
                base[this.tableHeadingSet.HeadingSetColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string HeadingSetName
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableHeadingSet.HeadingSetNameColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'HeadingSetName' in table 'HeadingSet' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableHeadingSet.HeadingSetNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string OwnerGroupID
        {
            get
            {
                return (string) base[this.tableHeadingSet.OwnerGroupIDColumn];
            }
            set
            {
                base[this.tableHeadingSet.OwnerGroupIDColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string UpdateBy
        {
            get
            {
                return (string) base[this.tableHeadingSet.UpdateByColumn];
            }
            set
            {
                base[this.tableHeadingSet.UpdateByColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class HeadingSetRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.HeadingSetRow eventRow;

        /*[DebuggerNonUserCode]*/
        public HeadingSetRowChangeEvent(IP.HeadingSetRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.HeadingSetRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void HeadingSetRowChangeEventHandler(object sender, IP.HeadingSetRowChangeEvent e);

    [Serializable, XmlSchemaProvider("GetTypedTableSchema"), GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class HeadingSetTemplateDataTable : DataTable, IEnumerable
    {
        private DataColumn columnCreateBy;
        private DataColumn columnCreateDate;
        private DataColumn columnHeadingCode;
        private DataColumn columnHeadingName;
        private DataColumn columnHeadingSet;
        private DataColumn columnOwnerGroupID;
        private DataColumn columnSection;
        private DataColumn columnUpdateBy;
        private DataColumn columnUpdateDate;

        public event IP.HeadingSetTemplateRowChangeEventHandler HeadingSetTemplateRowChanged;

        public event IP.HeadingSetTemplateRowChangeEventHandler HeadingSetTemplateRowChanging;

        public event IP.HeadingSetTemplateRowChangeEventHandler HeadingSetTemplateRowDeleted;

        public event IP.HeadingSetTemplateRowChangeEventHandler HeadingSetTemplateRowDeleting;

        /*[DebuggerNonUserCode]*/
        public HeadingSetTemplateDataTable()
        {
            base.TableName = "HeadingSetTemplate";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal HeadingSetTemplateDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected HeadingSetTemplateDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddHeadingSetTemplateRow(IP.HeadingSetTemplateRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.HeadingSetTemplateRow AddHeadingSetTemplateRow(string HeadingSet, string HeadingCode, int Section, string CreateBy, string UpdateBy, string OwnerGroupID, DateTime CreateDate, DateTime UpdateDate, string HeadingName)
        {
            IP.HeadingSetTemplateRow rowHeadingSetTemplateRow = (IP.HeadingSetTemplateRow) base.NewRow();
            rowHeadingSetTemplateRow.ItemArray = new object[] { HeadingSet, HeadingCode, Section, CreateBy, UpdateBy, OwnerGroupID, CreateDate, UpdateDate, HeadingName };
            base.Rows.Add(rowHeadingSetTemplateRow);
            return rowHeadingSetTemplateRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.HeadingSetTemplateDataTable cln = (IP.HeadingSetTemplateDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.HeadingSetTemplateDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public IP.HeadingSetTemplateRow FindByHeadingSetHeadingCodeSection(string HeadingSet, string HeadingCode, int Section)
        {
            return (IP.HeadingSetTemplateRow) base.Rows.Find(new object[] { HeadingSet, HeadingCode, Section });
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.HeadingSetTemplateRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "HeadingSetTemplateDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnHeadingSet = new DataColumn("HeadingSet", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnHeadingSet);
            this.columnHeadingCode = new DataColumn("HeadingCode", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnHeadingCode);
            this.columnSection = new DataColumn("Section", typeof(int), null, MappingType.Element);
            base.Columns.Add(this.columnSection);
            this.columnCreateBy = new DataColumn("CreateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCreateBy);
            this.columnUpdateBy = new DataColumn("UpdateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateBy);
            this.columnOwnerGroupID = new DataColumn("OwnerGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnOwnerGroupID);
            this.columnCreateDate = new DataColumn("CreateDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnCreateDate);
            this.columnUpdateDate = new DataColumn("UpdateDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateDate);
            this.columnHeadingName = new DataColumn("HeadingName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnHeadingName);
            base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnHeadingSet, this.columnHeadingCode, this.columnSection }, true));
            this.columnHeadingSet.AllowDBNull = false;
            this.columnHeadingSet.MaxLength = 30;
            this.columnHeadingCode.AllowDBNull = false;
            this.columnHeadingCode.MaxLength = 30;
            this.columnSection.AllowDBNull = false;
            this.columnCreateBy.AllowDBNull = false;
            this.columnCreateBy.MaxLength = 30;
            this.columnUpdateBy.AllowDBNull = false;
            this.columnUpdateBy.MaxLength = 30;
            this.columnOwnerGroupID.AllowDBNull = false;
            this.columnOwnerGroupID.MaxLength = 30;
            this.columnCreateDate.AllowDBNull = false;
            this.columnUpdateDate.AllowDBNull = false;
            this.columnHeadingName.ReadOnly = true;
            this.columnHeadingName.MaxLength = 100;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnHeadingSet = base.Columns["HeadingSet"];
            this.columnHeadingCode = base.Columns["HeadingCode"];
            this.columnSection = base.Columns["Section"];
            this.columnCreateBy = base.Columns["CreateBy"];
            this.columnUpdateBy = base.Columns["UpdateBy"];
            this.columnOwnerGroupID = base.Columns["OwnerGroupID"];
            this.columnCreateDate = base.Columns["CreateDate"];
            this.columnUpdateDate = base.Columns["UpdateDate"];
            this.columnHeadingName = base.Columns["HeadingName"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.HeadingSetTemplateRow NewHeadingSetTemplateRow()
        {
            return (IP.HeadingSetTemplateRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.HeadingSetTemplateRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.HeadingSetTemplateRowChanged != null)
            {
                this.HeadingSetTemplateRowChanged(this, new IP.HeadingSetTemplateRowChangeEvent((IP.HeadingSetTemplateRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.HeadingSetTemplateRowChanging != null)
            {
                this.HeadingSetTemplateRowChanging(this, new IP.HeadingSetTemplateRowChangeEvent((IP.HeadingSetTemplateRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.HeadingSetTemplateRowDeleted != null)
            {
                this.HeadingSetTemplateRowDeleted(this, new IP.HeadingSetTemplateRowChangeEvent((IP.HeadingSetTemplateRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.HeadingSetTemplateRowDeleting != null)
            {
                this.HeadingSetTemplateRowDeleting(this, new IP.HeadingSetTemplateRowChangeEvent((IP.HeadingSetTemplateRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveHeadingSetTemplateRow(IP.HeadingSetTemplateRow row)
        {
            base.Rows.Remove(row);
        }

        [DebuggerNonUserCode, Browsable(false)]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateByColumn
        {
            get
            {
                return this.columnCreateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateDateColumn
        {
            get
            {
                return this.columnCreateDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn HeadingCodeColumn
        {
            get
            {
                return this.columnHeadingCode;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn HeadingNameColumn
        {
            get
            {
                return this.columnHeadingName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn HeadingSetColumn
        {
            get
            {
                return this.columnHeadingSet;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.HeadingSetTemplateRow this[int index]
        {
            get
            {
                return (IP.HeadingSetTemplateRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OwnerGroupIDColumn
        {
            get
            {
                return this.columnOwnerGroupID;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn SectionColumn
        {
            get
            {
                return this.columnSection;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateByColumn
        {
            get
            {
                return this.columnUpdateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateDateColumn
        {
            get
            {
                return this.columnUpdateDate;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class HeadingSetTemplateRow : DataRow
    {
        private IP.HeadingSetTemplateDataTable tableHeadingSetTemplate;

        /*[DebuggerNonUserCode]*/
        internal HeadingSetTemplateRow(DataRowBuilder rb) : base(rb)
        {
            this.tableHeadingSetTemplate = (IP.HeadingSetTemplateDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public bool IsHeadingNameNull()
        {
            return base.IsNull(this.tableHeadingSetTemplate.HeadingNameColumn);
        }

        /*[DebuggerNonUserCode]*/
        public void SetHeadingNameNull()
        {
            base[this.tableHeadingSetTemplate.HeadingNameColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public string CreateBy
        {
            get
            {
                return (string) base[this.tableHeadingSetTemplate.CreateByColumn];
            }
            set
            {
                base[this.tableHeadingSetTemplate.CreateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime CreateDate
        {
            get
            {
                return (DateTime) base[this.tableHeadingSetTemplate.CreateDateColumn];
            }
            set
            {
                base[this.tableHeadingSetTemplate.CreateDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string HeadingCode
        {
            get
            {
                return (string) base[this.tableHeadingSetTemplate.HeadingCodeColumn];
            }
            set
            {
                base[this.tableHeadingSetTemplate.HeadingCodeColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string HeadingName
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableHeadingSetTemplate.HeadingNameColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'HeadingName' in table 'HeadingSetTemplate' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableHeadingSetTemplate.HeadingNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string HeadingSet
        {
            get
            {
                return (string) base[this.tableHeadingSetTemplate.HeadingSetColumn];
            }
            set
            {
                base[this.tableHeadingSetTemplate.HeadingSetColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string OwnerGroupID
        {
            get
            {
                return (string) base[this.tableHeadingSetTemplate.OwnerGroupIDColumn];
            }
            set
            {
                base[this.tableHeadingSetTemplate.OwnerGroupIDColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public int Section
        {
            get
            {
                return (int) base[this.tableHeadingSetTemplate.SectionColumn];
            }
            set
            {
                base[this.tableHeadingSetTemplate.SectionColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string UpdateBy
        {
            get
            {
                return (string) base[this.tableHeadingSetTemplate.UpdateByColumn];
            }
            set
            {
                base[this.tableHeadingSetTemplate.UpdateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime UpdateDate
        {
            get
            {
                return (DateTime) base[this.tableHeadingSetTemplate.UpdateDateColumn];
            }
            set
            {
                base[this.tableHeadingSetTemplate.UpdateDateColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class HeadingSetTemplateRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.HeadingSetTemplateRow eventRow;

        /*[DebuggerNonUserCode]*/
        public HeadingSetTemplateRowChangeEvent(IP.HeadingSetTemplateRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.HeadingSetTemplateRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void HeadingSetTemplateRowChangeEventHandler(object sender, IP.HeadingSetTemplateRowChangeEvent e);

    [Serializable, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), XmlSchemaProvider("GetTypedTableSchema")]
    public class HeadingTemplateDataTable : DataTable, IEnumerable
    {
        private DataColumn columnCodeDesc;
        private DataColumn columnCreateBy;
        private DataColumn columnHeadingCode;
        private DataColumn columnHeadingDescription;
        private DataColumn columnHeadingName;
        private DataColumn columnHeadingNameChinese;
        private DataColumn columnOwnerGroupID;
        private DataColumn columnSection;
        private DataColumn columnSectionName;
        private DataColumn columnUpdateBy;

        public event IP.HeadingTemplateRowChangeEventHandler HeadingTemplateRowChanged;

        public event IP.HeadingTemplateRowChangeEventHandler HeadingTemplateRowChanging;

        public event IP.HeadingTemplateRowChangeEventHandler HeadingTemplateRowDeleted;

        public event IP.HeadingTemplateRowChangeEventHandler HeadingTemplateRowDeleting;

        ///*[DebuggerNonUserCode]*/
        public HeadingTemplateDataTable()
        {
            base.TableName = "HeadingTemplate";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        ///*[DebuggerNonUserCode]*/
        internal HeadingTemplateDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        ///*[DebuggerNonUserCode]*/
        protected HeadingTemplateDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        ///*[DebuggerNonUserCode]*/
        public void AddHeadingTemplateRow(IP.HeadingTemplateRow row)
        {
            base.Rows.Add(row);
        }

        ///*[DebuggerNonUserCode]*/
        public IP.HeadingTemplateRow AddHeadingTemplateRow(string HeadingCode, string HeadingName, string HeadingNameChinese, string HeadingDescription, int Section, string SectionName, string CreateBy, string UpdateBy, string OwnerGroupID, string CodeDesc)
        {
            IP.HeadingTemplateRow rowHeadingTemplateRow = (IP.HeadingTemplateRow) base.NewRow();
            rowHeadingTemplateRow.ItemArray = new object[] { HeadingCode, HeadingName, HeadingNameChinese, HeadingDescription, Section, SectionName, CreateBy, UpdateBy, OwnerGroupID, CodeDesc };
            base.Rows.Add(rowHeadingTemplateRow);
            return rowHeadingTemplateRow;
        }

        ///*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.HeadingTemplateDataTable cln = (IP.HeadingTemplateDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        ///*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.HeadingTemplateDataTable();
        }

        ///*[DebuggerNonUserCode]*/
        public IP.HeadingTemplateRow FindByHeadingCodeSection(string HeadingCode, int Section)
        {
            return (IP.HeadingTemplateRow) base.Rows.Find(new object[] { HeadingCode, Section });
        }

        ///*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        ///*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.HeadingTemplateRow);
        }

        ///*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "HeadingTemplateDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        ///*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnHeadingCode = new DataColumn("HeadingCode", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnHeadingCode);
            this.columnHeadingName = new DataColumn("HeadingName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnHeadingName);
            this.columnHeadingNameChinese = new DataColumn("HeadingNameChinese", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnHeadingNameChinese);
            this.columnHeadingDescription = new DataColumn("HeadingDescription", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnHeadingDescription);
            this.columnSection = new DataColumn("Section", typeof(int), null, MappingType.Element);
            base.Columns.Add(this.columnSection);
            //this.columnSectionName = new DataColumn("SectionName", typeof(string), null, MappingType.Element);
            //base.Columns.Add(this.columnSectionName);
            this.columnCreateBy = new DataColumn("CreateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCreateBy);
            this.columnUpdateBy = new DataColumn("UpdateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateBy);
            this.columnOwnerGroupID = new DataColumn("OwnerGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnOwnerGroupID);
            this.columnCodeDesc = new DataColumn("CodeDesc", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCodeDesc);
            base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnHeadingCode, this.columnSection }, true));
            
            this.columnHeadingCode.AllowDBNull = false;
            this.columnHeadingCode.MaxLength = 30;
            this.columnHeadingName.MaxLength = 100;
            this.columnHeadingNameChinese.MaxLength = 100;
            this.columnHeadingDescription.MaxLength = 100;
            this.columnSection.AllowDBNull = false;
            //this.columnSectionName.MaxLength = 100;
            this.columnCreateBy.AllowDBNull = false;
            this.columnCreateBy.MaxLength = 30;
            this.columnUpdateBy.AllowDBNull = false;
            this.columnUpdateBy.MaxLength = 30;
            this.columnOwnerGroupID.AllowDBNull = false;
            this.columnOwnerGroupID.MaxLength = 30;
        }

        ///*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnHeadingCode = base.Columns["HeadingCode"];
            this.columnHeadingName = base.Columns["HeadingName"];
            this.columnHeadingNameChinese = base.Columns["HeadingNameChinese"];
            this.columnHeadingDescription = base.Columns["HeadingDescription"];
            this.columnSection = base.Columns["Section"];
            //this.columnSectionName = base.Columns["SectionName"];
            this.columnCreateBy = base.Columns["CreateBy"];
            this.columnUpdateBy = base.Columns["UpdateBy"];
            this.columnOwnerGroupID = base.Columns["OwnerGroupID"];
            this.columnCodeDesc = base.Columns["CodeDesc"];
        }

        ///*[DebuggerNonUserCode]*/
        public IP.HeadingTemplateRow NewHeadingTemplateRow()
        {
            return (IP.HeadingTemplateRow) base.NewRow();
        }

        ///*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.HeadingTemplateRow(builder);
        }

        ////*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.HeadingTemplateRowChanged != null)
            {
                this.HeadingTemplateRowChanged(this, new IP.HeadingTemplateRowChangeEvent((IP.HeadingTemplateRow) e.Row, e.Action));
            }
        }

        ///*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.HeadingTemplateRowChanging != null)
            {
                this.HeadingTemplateRowChanging(this, new IP.HeadingTemplateRowChangeEvent((IP.HeadingTemplateRow) e.Row, e.Action));
            }
        }

        ///*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.HeadingTemplateRowDeleted != null)
            {
                this.HeadingTemplateRowDeleted(this, new IP.HeadingTemplateRowChangeEvent((IP.HeadingTemplateRow) e.Row, e.Action));
            }
        }

        ///*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.HeadingTemplateRowDeleting != null)
            {
                this.HeadingTemplateRowDeleting(this, new IP.HeadingTemplateRowChangeEvent((IP.HeadingTemplateRow) e.Row, e.Action));
            }
        }

        ///*[DebuggerNonUserCode]*/
        public void RemoveHeadingTemplateRow(IP.HeadingTemplateRow row)
        {
            base.Rows.Remove(row);
        }

        ///*[DebuggerNonUserCode]*/
        public DataColumn CodeDescColumn
        {
            get
            {
                return this.columnCodeDesc;
            }
        }

        //[DebuggerNonUserCode, Browsable(false)]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        ///*[DebuggerNonUserCode]*/
        public DataColumn CreateByColumn
        {
            get
            {
                return this.columnCreateBy;
            }
        }

        ///*[DebuggerNonUserCode]*/
        public DataColumn HeadingCodeColumn
        {
            get
            {
                return this.columnHeadingCode;
            }
        }

        ///*[DebuggerNonUserCode]*/
        public DataColumn HeadingDescriptionColumn
        {
            get
            {
                return this.columnHeadingDescription;
            }
        }

        ///*[DebuggerNonUserCode]*/
        public DataColumn HeadingNameChineseColumn
        {
            get
            {
                return this.columnHeadingNameChinese;
            }
        }

        ///*[DebuggerNonUserCode]*/
        public DataColumn HeadingNameColumn
        {
            get
            {
                return this.columnHeadingName;
            }
        }

        ///*[DebuggerNonUserCode]*/
        public IP.HeadingTemplateRow this[int index]
        {
            get
            {
                return (IP.HeadingTemplateRow) base.Rows[index];
            }
        }

        ///*[DebuggerNonUserCode]*/
        public DataColumn OwnerGroupIDColumn
        {
            get
            {
                return this.columnOwnerGroupID;
            }
        }

        ///*[DebuggerNonUserCode]*/
        public DataColumn SectionColumn
        {
            get
            {
                return this.columnSection;
            }
        }

        ///*[DebuggerNonUserCode]*/
        public DataColumn SectionNameColumn
        {
            get
            {
                return this.columnSectionName;
            }
        }

        ///*[DebuggerNonUserCode]*/
        public DataColumn UpdateByColumn
        {
            get
            {
                return this.columnUpdateBy;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class HeadingTemplateRow : DataRow
    {
        private IP.HeadingTemplateDataTable tableHeadingTemplate;

        ///*[DebuggerNonUserCode]*/
        internal HeadingTemplateRow(DataRowBuilder rb) : base(rb)
        {
            this.tableHeadingTemplate = (IP.HeadingTemplateDataTable) base.Table;
        }

        ///*[DebuggerNonUserCode]*/
        public bool IsCodeDescNull()
        {
            return base.IsNull(this.tableHeadingTemplate.CodeDescColumn);
        }

        ////*[DebuggerNonUserCode]*/
        public bool IsHeadingDescriptionNull()
        {
            return base.IsNull(this.tableHeadingTemplate.HeadingDescriptionColumn);
        }

        ///*[DebuggerNonUserCode]*/
        public bool IsHeadingNameChineseNull()
        {
            return base.IsNull(this.tableHeadingTemplate.HeadingNameChineseColumn);
        }

        ///*[DebuggerNonUserCode]*/
        public bool IsHeadingNameNull()
        {
            return base.IsNull(this.tableHeadingTemplate.HeadingNameColumn);
        }

        ///*[DebuggerNonUserCode]*/
        public void SetCodeDescNull()
        {
            base[this.tableHeadingTemplate.CodeDescColumn] = Convert.DBNull;
        }

        ///*[DebuggerNonUserCode]*/
        public void SetHeadingDescriptionNull()
        {
            base[this.tableHeadingTemplate.HeadingDescriptionColumn] = Convert.DBNull;
        }

        ///*[DebuggerNonUserCode]*/
        public void SetHeadingNameChineseNull()
        {
            base[this.tableHeadingTemplate.HeadingNameChineseColumn] = Convert.DBNull;
        }

        ///*[DebuggerNonUserCode]*/
        public void SetHeadingNameNull()
        {
            base[this.tableHeadingTemplate.HeadingNameColumn] = Convert.DBNull;
        }

        ///*[DebuggerNonUserCode]*/
        public string CodeDesc
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableHeadingTemplate.CodeDescColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'CodeDesc' in table 'HeadingTemplate' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableHeadingTemplate.CodeDescColumn] = value;
            }
        }

        ///*[DebuggerNonUserCode]*/
        public string CreateBy
        {
            get
            {
                return (string) base[this.tableHeadingTemplate.CreateByColumn];
            }
            set
            {
                base[this.tableHeadingTemplate.CreateByColumn] = value;
            }
        }

        ///*[DebuggerNonUserCode]*/
        public string HeadingCode
        {
            get
            {
                return (string) base[this.tableHeadingTemplate.HeadingCodeColumn];
            }
            set
            {
                base[this.tableHeadingTemplate.HeadingCodeColumn] = value;
            }
        }

        ///*[DebuggerNonUserCode]*/
        public string HeadingDescription
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableHeadingTemplate.HeadingDescriptionColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'HeadingDescription' in table 'HeadingTemplate' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableHeadingTemplate.HeadingDescriptionColumn] = value;
            }
        }

        ///*[DebuggerNonUserCode]*/
        public string HeadingName
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableHeadingTemplate.HeadingNameColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'HeadingName' in table 'HeadingTemplate' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableHeadingTemplate.HeadingNameColumn] = value;
            }
        }

        ///*[DebuggerNonUserCode]*/
        public string HeadingNameChinese
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableHeadingTemplate.HeadingNameChineseColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'HeadingNameChinese' in table 'HeadingTemplate' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableHeadingTemplate.HeadingNameChineseColumn] = value;
            }
        }

        ///*[DebuggerNonUserCode]*/
        public string OwnerGroupID
        {
            get
            {
                return (string) base[this.tableHeadingTemplate.OwnerGroupIDColumn];
            }
            set
            {
                base[this.tableHeadingTemplate.OwnerGroupIDColumn] = value;
            }
        }

        ///*[DebuggerNonUserCode]*/
        public int Section
        {
            get
            {
                return (int) base[this.tableHeadingTemplate.SectionColumn];
            }
            set
            {
                base[this.tableHeadingTemplate.SectionColumn] = value;
            }
        }
        ///*[DebuggerNonUserCode]*/
        public string SectionName
        {
            get
            {
                return (string)base[this.tableHeadingTemplate.SectionNameColumn];
            }
            set
            {
                base[this.tableHeadingTemplate.SectionNameColumn] = value;
            }
        }

        ///*[DebuggerNonUserCode]*/
        public string UpdateBy
        {
            get
            {
                return (string) base[this.tableHeadingTemplate.UpdateByColumn];
            }
            set
            {
                base[this.tableHeadingTemplate.UpdateByColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class HeadingTemplateRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.HeadingTemplateRow eventRow;

        /*[DebuggerNonUserCode]*/
        public HeadingTemplateRowChangeEvent(IP.HeadingTemplateRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.HeadingTemplateRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void HeadingTemplateRowChangeEventHandler(object sender, IP.HeadingTemplateRowChangeEvent e);

    [Serializable, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), XmlSchemaProvider("GetTypedTableSchema")]
    public class PagesDataTable : DataTable, IEnumerable
    {
        private DataColumn columnDescription;
        private DataColumn columnPageName;

        public event IP.PagesRowChangeEventHandler PagesRowChanged;

        public event IP.PagesRowChangeEventHandler PagesRowChanging;

        public event IP.PagesRowChangeEventHandler PagesRowDeleted;

        public event IP.PagesRowChangeEventHandler PagesRowDeleting;

        /*[DebuggerNonUserCode]*/
        public PagesDataTable()
        {
            base.TableName = "Pages";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal PagesDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected PagesDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddPagesRow(IP.PagesRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.PagesRow AddPagesRow(string PageName, string Description)
        {
            IP.PagesRow rowPagesRow = (IP.PagesRow) base.NewRow();
            rowPagesRow.ItemArray = new object[] { PageName, Description };
            base.Rows.Add(rowPagesRow);
            return rowPagesRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.PagesDataTable cln = (IP.PagesDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.PagesDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.PagesRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "PagesDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnPageName = new DataColumn("PageName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnPageName);
            this.columnDescription = new DataColumn("Description", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnDescription);
            this.columnPageName.AllowDBNull = false;
            this.columnPageName.MaxLength = 100;
            this.columnDescription.MaxLength = 100;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnPageName = base.Columns["PageName"];
            this.columnDescription = base.Columns["Description"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.PagesRow NewPagesRow()
        {
            return (IP.PagesRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.PagesRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.PagesRowChanged != null)
            {
                this.PagesRowChanged(this, new IP.PagesRowChangeEvent((IP.PagesRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.PagesRowChanging != null)
            {
                this.PagesRowChanging(this, new IP.PagesRowChangeEvent((IP.PagesRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.PagesRowDeleted != null)
            {
                this.PagesRowDeleted(this, new IP.PagesRowChangeEvent((IP.PagesRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.PagesRowDeleting != null)
            {
                this.PagesRowDeleting(this, new IP.PagesRowChangeEvent((IP.PagesRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemovePagesRow(IP.PagesRow row)
        {
            base.Rows.Remove(row);
        }

        [DebuggerNonUserCode, Browsable(false)]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DescriptionColumn
        {
            get
            {
                return this.columnDescription;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.PagesRow this[int index]
        {
            get
            {
                return (IP.PagesRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn PageNameColumn
        {
            get
            {
                return this.columnPageName;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class PagesRow : DataRow
    {
        private IP.PagesDataTable tablePages;

        /*[DebuggerNonUserCode]*/
        internal PagesRow(DataRowBuilder rb) : base(rb)
        {
            this.tablePages = (IP.PagesDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDescriptionNull()
        {
            return base.IsNull(this.tablePages.DescriptionColumn);
        }

        /*[DebuggerNonUserCode]*/
        public void SetDescriptionNull()
        {
            base[this.tablePages.DescriptionColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public string Description
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tablePages.DescriptionColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Description' in table 'Pages' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tablePages.DescriptionColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string PageName
        {
            get
            {
                return (string) base[this.tablePages.PageNameColumn];
            }
            set
            {
                base[this.tablePages.PageNameColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class PagesRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.PagesRow eventRow;

        /*[DebuggerNonUserCode]*/
        public PagesRowChangeEvent(IP.PagesRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.PagesRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void PagesRowChangeEventHandler(object sender, IP.PagesRowChangeEvent e);

    [Serializable, XmlSchemaProvider("GetTypedTableSchema"), GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProductDataTable : DataTable, IEnumerable
    {
        private DataColumn columnCreateBy;
        private DataColumn columnCreateDate;
        private DataColumn columnDateFld1;
        private DataColumn columnDateFld2;
        private DataColumn columnDateFld3;
        private DataColumn columnDateFld4;
        private DataColumn columnDateFld5;
        private DataColumn columnDeciFld1;
        private DataColumn columnDeciFld2;
        private DataColumn columnModel;
        private DataColumn columnModelName;
        private DataColumn columnOwnerGroupID;
        private DataColumn columnProjectGroupID;
        private DataColumn columnRemark1;
        private DataColumn columnRemark2;
        private DataColumn columnRemark3;
        private DataColumn columnRemark4;
        private DataColumn columnRemark5;
        private DataColumn columnRevision;
        private DataColumn columnSpecification;
        private DataColumn columnUpdateBy;

        public event IP.ProductRowChangeEventHandler ProductRowChanged;

        public event IP.ProductRowChangeEventHandler ProductRowChanging;

        public event IP.ProductRowChangeEventHandler ProductRowDeleted;

        public event IP.ProductRowChangeEventHandler ProductRowDeleting;

        /*[DebuggerNonUserCode]*/
        public ProductDataTable()
        {
            base.TableName = "Product";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal ProductDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected ProductDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddProductRow(IP.ProductRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProductRow AddProductRow(string Model, string ModelName, string Specification, IP.ProjectGroupRow parentProjectGroupRowByFK_Product_ProjectGroup, string Remark1, string Remark2, string Remark3, string Remark4, string Remark5, DateTime DateFld1, DateTime DateFld2, DateTime DateFld3, DateTime DateFld4, DateTime DateFld5, decimal DeciFld1, decimal DeciFld2, string CreateBy, string UpdateBy, string OwnerGroupID, DateTime CreateDate, string Revision)
        {
            IP.ProductRow rowProductRow = (IP.ProductRow) base.NewRow();
            rowProductRow.ItemArray = new object[] { 
                Model, ModelName, Specification, parentProjectGroupRowByFK_Product_ProjectGroup[0], Remark1, Remark2, Remark3, Remark4, Remark5, DateFld1, DateFld2, DateFld3, DateFld4, DateFld5, DeciFld1, DeciFld2, 
                CreateBy, UpdateBy, OwnerGroupID, CreateDate, Revision
             };
            base.Rows.Add(rowProductRow);
            return rowProductRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.ProductDataTable cln = (IP.ProductDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.ProductDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProductRow FindByModel(string Model)
        {
            return (IP.ProductRow) base.Rows.Find(new object[] { Model });
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.ProductRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "ProductDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnModel = new DataColumn("Model", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnModel);
            this.columnModelName = new DataColumn("ModelName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnModelName);
            this.columnSpecification = new DataColumn("Specification", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnSpecification);
            this.columnProjectGroupID = new DataColumn("ProjectGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnProjectGroupID);
            this.columnRemark1 = new DataColumn("Remark1", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnRemark1);
            this.columnRemark2 = new DataColumn("Remark2", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnRemark2);
            this.columnRemark3 = new DataColumn("Remark3", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnRemark3);
            this.columnRemark4 = new DataColumn("Remark4", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnRemark4);
            this.columnRemark5 = new DataColumn("Remark5", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnRemark5);
            this.columnDateFld1 = new DataColumn("DateFld1", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnDateFld1);
            this.columnDateFld2 = new DataColumn("DateFld2", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnDateFld2);
            this.columnDateFld3 = new DataColumn("DateFld3", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnDateFld3);
            this.columnDateFld4 = new DataColumn("DateFld4", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnDateFld4);
            this.columnDateFld5 = new DataColumn("DateFld5", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnDateFld5);
            this.columnDeciFld1 = new DataColumn("DeciFld1", typeof(decimal), null, MappingType.Element);
            base.Columns.Add(this.columnDeciFld1);
            this.columnDeciFld2 = new DataColumn("DeciFld2", typeof(decimal), null, MappingType.Element);
            base.Columns.Add(this.columnDeciFld2);
            this.columnCreateBy = new DataColumn("CreateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCreateBy);
            this.columnUpdateBy = new DataColumn("UpdateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateBy);
            this.columnOwnerGroupID = new DataColumn("OwnerGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnOwnerGroupID);
            this.columnCreateDate = new DataColumn("CreateDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnCreateDate);
            this.columnRevision = new DataColumn("Revision", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnRevision);
            base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnModel }, true));
            this.columnModel.AllowDBNull = false;
            this.columnModel.Unique = true;
            this.columnModel.MaxLength = 30;
            this.columnModelName.AllowDBNull = false;
            this.columnModelName.MaxLength = 100;
            this.columnSpecification.AllowDBNull = false;
            this.columnSpecification.MaxLength = 100;
            this.columnProjectGroupID.MaxLength = 30;
            this.columnRemark1.MaxLength = 100;
            this.columnRemark2.MaxLength = 100;
            this.columnRemark3.MaxLength = 100;
            this.columnRemark4.MaxLength = 100;
            this.columnRemark5.MaxLength = 100;
            this.columnCreateBy.AllowDBNull = false;
            this.columnCreateBy.MaxLength = 30;
            this.columnUpdateBy.AllowDBNull = false;
            this.columnUpdateBy.MaxLength = 30;
            this.columnOwnerGroupID.AllowDBNull = false;
            this.columnOwnerGroupID.MaxLength = 30;
            this.columnCreateDate.AllowDBNull = false;
            this.columnRevision.AllowDBNull = false;
            this.columnRevision.MaxLength = 30;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnModel = base.Columns["Model"];
            this.columnModelName = base.Columns["ModelName"];
            this.columnSpecification = base.Columns["Specification"];
            this.columnProjectGroupID = base.Columns["ProjectGroupID"];
            this.columnRemark1 = base.Columns["Remark1"];
            this.columnRemark2 = base.Columns["Remark2"];
            this.columnRemark3 = base.Columns["Remark3"];
            this.columnRemark4 = base.Columns["Remark4"];
            this.columnRemark5 = base.Columns["Remark5"];
            this.columnDateFld1 = base.Columns["DateFld1"];
            this.columnDateFld2 = base.Columns["DateFld2"];
            this.columnDateFld3 = base.Columns["DateFld3"];
            this.columnDateFld4 = base.Columns["DateFld4"];
            this.columnDateFld5 = base.Columns["DateFld5"];
            this.columnDeciFld1 = base.Columns["DeciFld1"];
            this.columnDeciFld2 = base.Columns["DeciFld2"];
            this.columnCreateBy = base.Columns["CreateBy"];
            this.columnUpdateBy = base.Columns["UpdateBy"];
            this.columnOwnerGroupID = base.Columns["OwnerGroupID"];
            this.columnCreateDate = base.Columns["CreateDate"];
            this.columnRevision = base.Columns["Revision"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProductRow NewProductRow()
        {
            return (IP.ProductRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.ProductRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.ProductRowChanged != null)
            {
                this.ProductRowChanged(this, new IP.ProductRowChangeEvent((IP.ProductRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.ProductRowChanging != null)
            {
                this.ProductRowChanging(this, new IP.ProductRowChangeEvent((IP.ProductRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.ProductRowDeleted != null)
            {
                this.ProductRowDeleted(this, new IP.ProductRowChangeEvent((IP.ProductRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.ProductRowDeleting != null)
            {
                this.ProductRowDeleting(this, new IP.ProductRowChangeEvent((IP.ProductRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveProductRow(IP.ProductRow row)
        {
            base.Rows.Remove(row);
        }

        [Browsable(false), DebuggerNonUserCode]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateByColumn
        {
            get
            {
                return this.columnCreateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateDateColumn
        {
            get
            {
                return this.columnCreateDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DateFld1Column
        {
            get
            {
                return this.columnDateFld1;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DateFld2Column
        {
            get
            {
                return this.columnDateFld2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DateFld3Column
        {
            get
            {
                return this.columnDateFld3;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DateFld4Column
        {
            get
            {
                return this.columnDateFld4;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DateFld5Column
        {
            get
            {
                return this.columnDateFld5;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DeciFld1Column
        {
            get
            {
                return this.columnDeciFld1;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DeciFld2Column
        {
            get
            {
                return this.columnDeciFld2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProductRow this[int index]
        {
            get
            {
                return (IP.ProductRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ModelColumn
        {
            get
            {
                return this.columnModel;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ModelNameColumn
        {
            get
            {
                return this.columnModelName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OwnerGroupIDColumn
        {
            get
            {
                return this.columnOwnerGroupID;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ProjectGroupIDColumn
        {
            get
            {
                return this.columnProjectGroupID;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn Remark1Column
        {
            get
            {
                return this.columnRemark1;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn Remark2Column
        {
            get
            {
                return this.columnRemark2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn Remark3Column
        {
            get
            {
                return this.columnRemark3;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn Remark4Column
        {
            get
            {
                return this.columnRemark4;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn Remark5Column
        {
            get
            {
                return this.columnRemark5;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn RevisionColumn
        {
            get
            {
                return this.columnRevision;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn SpecificationColumn
        {
            get
            {
                return this.columnSpecification;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateByColumn
        {
            get
            {
                return this.columnUpdateBy;
            }
        }
    }

    [Serializable, XmlSchemaProvider("GetTypedTableSchema"), GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProductProjectDataTable : DataTable, IEnumerable
    {
        private DataColumn columnCreateBy;
        private DataColumn columnModel;
        private DataColumn columnOwnerGroupID;
        private DataColumn columnProjectCode;
        private DataColumn columnUpdateBy;

        public event IP.ProductProjectRowChangeEventHandler ProductProjectRowChanged;

        public event IP.ProductProjectRowChangeEventHandler ProductProjectRowChanging;

        public event IP.ProductProjectRowChangeEventHandler ProductProjectRowDeleted;

        public event IP.ProductProjectRowChangeEventHandler ProductProjectRowDeleting;

        /*[DebuggerNonUserCode]*/
        public ProductProjectDataTable()
        {
            base.TableName = "ProductProject";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal ProductProjectDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected ProductProjectDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddProductProjectRow(IP.ProductProjectRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProductProjectRow AddProductProjectRow(IP.ProductRow parentProductRowByFK_ProductProject_Product, IP.ProjectRow parentProjectRowByFK_ProductProject_Project, string CreateBy, string UpdateBy, string OwnerGroupID)
        {
            IP.ProductProjectRow rowProductProjectRow = (IP.ProductProjectRow) base.NewRow();
            rowProductProjectRow.ItemArray = new object[] { parentProductRowByFK_ProductProject_Product[0], parentProjectRowByFK_ProductProject_Project[0], CreateBy, UpdateBy, OwnerGroupID };
            base.Rows.Add(rowProductProjectRow);
            return rowProductProjectRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.ProductProjectDataTable cln = (IP.ProductProjectDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.ProductProjectDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProductProjectRow FindByModelProjectCode(string Model, string ProjectCode)
        {
            return (IP.ProductProjectRow) base.Rows.Find(new object[] { Model, ProjectCode });
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.ProductProjectRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "ProductProjectDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnModel = new DataColumn("Model", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnModel);
            this.columnProjectCode = new DataColumn("ProjectCode", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnProjectCode);
            this.columnCreateBy = new DataColumn("CreateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCreateBy);
            this.columnUpdateBy = new DataColumn("UpdateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateBy);
            this.columnOwnerGroupID = new DataColumn("OwnerGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnOwnerGroupID);
            base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnModel, this.columnProjectCode }, true));
            this.columnModel.AllowDBNull = false;
            this.columnModel.MaxLength = 30;
            this.columnProjectCode.AllowDBNull = false;
            this.columnProjectCode.MaxLength = 30;
            this.columnCreateBy.AllowDBNull = false;
            this.columnCreateBy.MaxLength = 30;
            this.columnUpdateBy.AllowDBNull = false;
            this.columnUpdateBy.MaxLength = 30;
            this.columnOwnerGroupID.AllowDBNull = false;
            this.columnOwnerGroupID.MaxLength = 30;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnModel = base.Columns["Model"];
            this.columnProjectCode = base.Columns["ProjectCode"];
            this.columnCreateBy = base.Columns["CreateBy"];
            this.columnUpdateBy = base.Columns["UpdateBy"];
            this.columnOwnerGroupID = base.Columns["OwnerGroupID"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProductProjectRow NewProductProjectRow()
        {
            return (IP.ProductProjectRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.ProductProjectRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.ProductProjectRowChanged != null)
            {
                this.ProductProjectRowChanged(this, new IP.ProductProjectRowChangeEvent((IP.ProductProjectRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.ProductProjectRowChanging != null)
            {
                this.ProductProjectRowChanging(this, new IP.ProductProjectRowChangeEvent((IP.ProductProjectRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.ProductProjectRowDeleted != null)
            {
                this.ProductProjectRowDeleted(this, new IP.ProductProjectRowChangeEvent((IP.ProductProjectRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.ProductProjectRowDeleting != null)
            {
                this.ProductProjectRowDeleting(this, new IP.ProductProjectRowChangeEvent((IP.ProductProjectRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveProductProjectRow(IP.ProductProjectRow row)
        {
            base.Rows.Remove(row);
        }

        [DebuggerNonUserCode, Browsable(false)]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateByColumn
        {
            get
            {
                return this.columnCreateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProductProjectRow this[int index]
        {
            get
            {
                return (IP.ProductProjectRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ModelColumn
        {
            get
            {
                return this.columnModel;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OwnerGroupIDColumn
        {
            get
            {
                return this.columnOwnerGroupID;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ProjectCodeColumn
        {
            get
            {
                return this.columnProjectCode;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateByColumn
        {
            get
            {
                return this.columnUpdateBy;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProductProjectRow : DataRow
    {
        private IP.ProductProjectDataTable tableProductProject;

        /*[DebuggerNonUserCode]*/
        internal ProductProjectRow(DataRowBuilder rb) : base(rb)
        {
            this.tableProductProject = (IP.ProductProjectDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public string CreateBy
        {
            get
            {
                return (string) base[this.tableProductProject.CreateByColumn];
            }
            set
            {
                base[this.tableProductProject.CreateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.GetReminder2SpRow GetReminder2SpRow
        {
            get
            {
                return (IP.GetReminder2SpRow) base.GetParentRow(base.Table.ParentRelations["FK_ProductProject_Project1"]);
            }
            set
            {
                base.SetParentRow(value, base.Table.ParentRelations["FK_ProductProject_Project1"]);
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Model
        {
            get
            {
                return (string) base[this.tableProductProject.ModelColumn];
            }
            set
            {
                base[this.tableProductProject.ModelColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string OwnerGroupID
        {
            get
            {
                return (string) base[this.tableProductProject.OwnerGroupIDColumn];
            }
            set
            {
                base[this.tableProductProject.OwnerGroupIDColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProductRow ProductRow
        {
            get
            {
                return (IP.ProductRow) base.GetParentRow(base.Table.ParentRelations["FK_ProductProject_Product"]);
            }
            set
            {
                base.SetParentRow(value, base.Table.ParentRelations["FK_ProductProject_Product"]);
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ProjectCode
        {
            get
            {
                return (string) base[this.tableProductProject.ProjectCodeColumn];
            }
            set
            {
                base[this.tableProductProject.ProjectCodeColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectRow ProjectRow
        {
            get
            {
                return (IP.ProjectRow) base.GetParentRow(base.Table.ParentRelations["FK_ProductProject_Project"]);
            }
            set
            {
                base.SetParentRow(value, base.Table.ParentRelations["FK_ProductProject_Project"]);
            }
        }

        /*[DebuggerNonUserCode]*/
        public string UpdateBy
        {
            get
            {
                return (string) base[this.tableProductProject.UpdateByColumn];
            }
            set
            {
                base[this.tableProductProject.UpdateByColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProductProjectRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.ProductProjectRow eventRow;

        /*[DebuggerNonUserCode]*/
        public ProductProjectRowChangeEvent(IP.ProductProjectRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProductProjectRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void ProductProjectRowChangeEventHandler(object sender, IP.ProductProjectRowChangeEvent e);

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProductRow : DataRow
    {
        private IP.ProductDataTable tableProduct;

        /*[DebuggerNonUserCode]*/
        internal ProductRow(DataRowBuilder rb) : base(rb)
        {
            this.tableProduct = (IP.ProductDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProductProjectRow[] GetProductProjectRows()
        {
            return (IP.ProductProjectRow[]) base.GetChildRows(base.Table.ChildRelations["FK_ProductProject_Product"]);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDateFld1Null()
        {
            return base.IsNull(this.tableProduct.DateFld1Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDateFld2Null()
        {
            return base.IsNull(this.tableProduct.DateFld2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDateFld3Null()
        {
            return base.IsNull(this.tableProduct.DateFld3Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDateFld4Null()
        {
            return base.IsNull(this.tableProduct.DateFld4Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDateFld5Null()
        {
            return base.IsNull(this.tableProduct.DateFld5Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDeciFld1Null()
        {
            return base.IsNull(this.tableProduct.DeciFld1Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDeciFld2Null()
        {
            return base.IsNull(this.tableProduct.DeciFld2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsProjectGroupIDNull()
        {
            return base.IsNull(this.tableProduct.ProjectGroupIDColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsRemark1Null()
        {
            return base.IsNull(this.tableProduct.Remark1Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsRemark2Null()
        {
            return base.IsNull(this.tableProduct.Remark2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsRemark3Null()
        {
            return base.IsNull(this.tableProduct.Remark3Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsRemark4Null()
        {
            return base.IsNull(this.tableProduct.Remark4Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsRemark5Null()
        {
            return base.IsNull(this.tableProduct.Remark5Column);
        }

        /*[DebuggerNonUserCode]*/
        public void SetDateFld1Null()
        {
            base[this.tableProduct.DateFld1Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetDateFld2Null()
        {
            base[this.tableProduct.DateFld2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetDateFld3Null()
        {
            base[this.tableProduct.DateFld3Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetDateFld4Null()
        {
            base[this.tableProduct.DateFld4Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetDateFld5Null()
        {
            base[this.tableProduct.DateFld5Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetDeciFld1Null()
        {
            base[this.tableProduct.DeciFld1Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetDeciFld2Null()
        {
            base[this.tableProduct.DeciFld2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetProjectGroupIDNull()
        {
            base[this.tableProduct.ProjectGroupIDColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetRemark1Null()
        {
            base[this.tableProduct.Remark1Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetRemark2Null()
        {
            base[this.tableProduct.Remark2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetRemark3Null()
        {
            base[this.tableProduct.Remark3Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetRemark4Null()
        {
            base[this.tableProduct.Remark4Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetRemark5Null()
        {
            base[this.tableProduct.Remark5Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public string CreateBy
        {
            get
            {
                return (string) base[this.tableProduct.CreateByColumn];
            }
            set
            {
                base[this.tableProduct.CreateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime CreateDate
        {
            get
            {
                return (DateTime) base[this.tableProduct.CreateDateColumn];
            }
            set
            {
                base[this.tableProduct.CreateDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime DateFld1
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableProduct.DateFld1Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'DateFld1' in table 'Product' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProduct.DateFld1Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime DateFld2
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableProduct.DateFld2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'DateFld2' in table 'Product' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProduct.DateFld2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime DateFld3
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableProduct.DateFld3Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'DateFld3' in table 'Product' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProduct.DateFld3Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime DateFld4
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableProduct.DateFld4Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'DateFld4' in table 'Product' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProduct.DateFld4Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime DateFld5
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableProduct.DateFld5Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'DateFld5' in table 'Product' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProduct.DateFld5Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public decimal DeciFld1
        {
            get
            {
                decimal ret;
                try
                {
                    ret = (decimal) base[this.tableProduct.DeciFld1Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'DeciFld1' in table 'Product' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProduct.DeciFld1Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public decimal DeciFld2
        {
            get
            {
                decimal ret;
                try
                {
                    ret = (decimal) base[this.tableProduct.DeciFld2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'DeciFld2' in table 'Product' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProduct.DeciFld2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Model
        {
            get
            {
                return (string) base[this.tableProduct.ModelColumn];
            }
            set
            {
                base[this.tableProduct.ModelColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ModelName
        {
            get
            {
                return (string) base[this.tableProduct.ModelNameColumn];
            }
            set
            {
                base[this.tableProduct.ModelNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string OwnerGroupID
        {
            get
            {
                return (string) base[this.tableProduct.OwnerGroupIDColumn];
            }
            set
            {
                base[this.tableProduct.OwnerGroupIDColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ProjectGroupID
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProduct.ProjectGroupIDColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ProjectGroupID' in table 'Product' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProduct.ProjectGroupIDColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectGroupRow ProjectGroupRow
        {
            get
            {
                return (IP.ProjectGroupRow) base.GetParentRow(base.Table.ParentRelations["FK_Product_ProjectGroup"]);
            }
            set
            {
                base.SetParentRow(value, base.Table.ParentRelations["FK_Product_ProjectGroup"]);
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Remark1
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProduct.Remark1Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Remark1' in table 'Product' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProduct.Remark1Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Remark2
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProduct.Remark2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Remark2' in table 'Product' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProduct.Remark2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Remark3
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProduct.Remark3Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Remark3' in table 'Product' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProduct.Remark3Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Remark4
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProduct.Remark4Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Remark4' in table 'Product' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProduct.Remark4Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Remark5
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProduct.Remark5Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Remark5' in table 'Product' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProduct.Remark5Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Revision
        {
            get
            {
                return (string) base[this.tableProduct.RevisionColumn];
            }
            set
            {
                base[this.tableProduct.RevisionColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Specification
        {
            get
            {
                return (string) base[this.tableProduct.SpecificationColumn];
            }
            set
            {
                base[this.tableProduct.SpecificationColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string UpdateBy
        {
            get
            {
                return (string) base[this.tableProduct.UpdateByColumn];
            }
            set
            {
                base[this.tableProduct.UpdateByColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProductRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.ProductRow eventRow;

        /*[DebuggerNonUserCode]*/
        public ProductRowChangeEvent(IP.ProductRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProductRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void ProductRowChangeEventHandler(object sender, IP.ProductRowChangeEvent e);

    [Serializable, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), XmlSchemaProvider("GetTypedTableSchema")]
    public class ProjectClassDataTable : DataTable, IEnumerable
    {
        private DataColumn columnCreateBy;
        private DataColumn columnCreateDate;
        private DataColumn columnDescription;
        private DataColumn columnOwnerGroupID;
        private DataColumn columnProjectClass;
        private DataColumn columnUpdateBy;
        private DataColumn columnUpdateDate;

        public event IP.ProjectClassRowChangeEventHandler ProjectClassRowChanged;

        public event IP.ProjectClassRowChangeEventHandler ProjectClassRowChanging;

        public event IP.ProjectClassRowChangeEventHandler ProjectClassRowDeleted;

        public event IP.ProjectClassRowChangeEventHandler ProjectClassRowDeleting;

        /*[DebuggerNonUserCode]*/
        public ProjectClassDataTable()
        {
            base.TableName = "ProjectClass";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal ProjectClassDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected ProjectClassDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddProjectClassRow(IP.ProjectClassRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectClassRow AddProjectClassRow(string ProjectClass, string Description, string CreateBy, DateTime CreateDate, string UpdateBy, DateTime UpdateDate, string OwnerGroupID)
        {
            IP.ProjectClassRow rowProjectClassRow = (IP.ProjectClassRow) base.NewRow();
            rowProjectClassRow.ItemArray = new object[] { ProjectClass, Description, CreateBy, CreateDate, UpdateBy, UpdateDate, OwnerGroupID };
            base.Rows.Add(rowProjectClassRow);
            return rowProjectClassRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.ProjectClassDataTable cln = (IP.ProjectClassDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.ProjectClassDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.ProjectClassRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "ProjectClassDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnProjectClass = new DataColumn("ProjectClass", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnProjectClass);
            this.columnDescription = new DataColumn("Description", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnDescription);
            this.columnCreateBy = new DataColumn("CreateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCreateBy);
            this.columnCreateDate = new DataColumn("CreateDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnCreateDate);
            this.columnUpdateBy = new DataColumn("UpdateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateBy);
            this.columnUpdateDate = new DataColumn("UpdateDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateDate);
            this.columnOwnerGroupID = new DataColumn("OwnerGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnOwnerGroupID);
            this.columnProjectClass.AllowDBNull = false;
            this.columnProjectClass.MaxLength = 30;
            this.columnDescription.MaxLength = 100;
            this.columnCreateBy.AllowDBNull = false;
            this.columnCreateBy.MaxLength = 30;
            this.columnCreateDate.AllowDBNull = false;
            this.columnUpdateBy.AllowDBNull = false;
            this.columnUpdateBy.MaxLength = 30;
            this.columnUpdateDate.AllowDBNull = false;
            this.columnOwnerGroupID.AllowDBNull = false;
            this.columnOwnerGroupID.MaxLength = 30;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnProjectClass = base.Columns["ProjectClass"];
            this.columnDescription = base.Columns["Description"];
            this.columnCreateBy = base.Columns["CreateBy"];
            this.columnCreateDate = base.Columns["CreateDate"];
            this.columnUpdateBy = base.Columns["UpdateBy"];
            this.columnUpdateDate = base.Columns["UpdateDate"];
            this.columnOwnerGroupID = base.Columns["OwnerGroupID"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectClassRow NewProjectClassRow()
        {
            return (IP.ProjectClassRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.ProjectClassRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.ProjectClassRowChanged != null)
            {
                this.ProjectClassRowChanged(this, new IP.ProjectClassRowChangeEvent((IP.ProjectClassRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.ProjectClassRowChanging != null)
            {
                this.ProjectClassRowChanging(this, new IP.ProjectClassRowChangeEvent((IP.ProjectClassRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.ProjectClassRowDeleted != null)
            {
                this.ProjectClassRowDeleted(this, new IP.ProjectClassRowChangeEvent((IP.ProjectClassRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.ProjectClassRowDeleting != null)
            {
                this.ProjectClassRowDeleting(this, new IP.ProjectClassRowChangeEvent((IP.ProjectClassRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveProjectClassRow(IP.ProjectClassRow row)
        {
            base.Rows.Remove(row);
        }

        [DebuggerNonUserCode, Browsable(false)]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateByColumn
        {
            get
            {
                return this.columnCreateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateDateColumn
        {
            get
            {
                return this.columnCreateDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DescriptionColumn
        {
            get
            {
                return this.columnDescription;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectClassRow this[int index]
        {
            get
            {
                return (IP.ProjectClassRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OwnerGroupIDColumn
        {
            get
            {
                return this.columnOwnerGroupID;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ProjectClassColumn
        {
            get
            {
                return this.columnProjectClass;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateByColumn
        {
            get
            {
                return this.columnUpdateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateDateColumn
        {
            get
            {
                return this.columnUpdateDate;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectClassRow : DataRow
    {
        private IP.ProjectClassDataTable tableProjectClass;

        /*[DebuggerNonUserCode]*/
        internal ProjectClassRow(DataRowBuilder rb) : base(rb)
        {
            this.tableProjectClass = (IP.ProjectClassDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDescriptionNull()
        {
            return base.IsNull(this.tableProjectClass.DescriptionColumn);
        }

        /*[DebuggerNonUserCode]*/
        public void SetDescriptionNull()
        {
            base[this.tableProjectClass.DescriptionColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public string CreateBy
        {
            get
            {
                return (string) base[this.tableProjectClass.CreateByColumn];
            }
            set
            {
                base[this.tableProjectClass.CreateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime CreateDate
        {
            get
            {
                return (DateTime) base[this.tableProjectClass.CreateDateColumn];
            }
            set
            {
                base[this.tableProjectClass.CreateDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Description
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectClass.DescriptionColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Description' in table 'ProjectClass' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectClass.DescriptionColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string OwnerGroupID
        {
            get
            {
                return (string) base[this.tableProjectClass.OwnerGroupIDColumn];
            }
            set
            {
                base[this.tableProjectClass.OwnerGroupIDColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ProjectClass
        {
            get
            {
                return (string) base[this.tableProjectClass.ProjectClassColumn];
            }
            set
            {
                base[this.tableProjectClass.ProjectClassColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string UpdateBy
        {
            get
            {
                return (string) base[this.tableProjectClass.UpdateByColumn];
            }
            set
            {
                base[this.tableProjectClass.UpdateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime UpdateDate
        {
            get
            {
                return (DateTime) base[this.tableProjectClass.UpdateDateColumn];
            }
            set
            {
                base[this.tableProjectClass.UpdateDateColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectClassRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.ProjectClassRow eventRow;

        /*[DebuggerNonUserCode]*/
        public ProjectClassRowChangeEvent(IP.ProjectClassRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectClassRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void ProjectClassRowChangeEventHandler(object sender, IP.ProjectClassRowChangeEvent e);

    [Serializable, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), XmlSchemaProvider("GetTypedTableSchema")]
    public class ProjectDataTable : DataTable, IEnumerable
    {
        private DataColumn columnACMEDueDate;
        private DataColumn columnAgent;
        private DataColumn columnAgentAddress;
        private DataColumn columnAgentChineseName;
        private DataColumn columnAgentCompanyName;
        private DataColumn columnAgentContactEmailAddress3;
        private DataColumn columnAgentContactEmailAddress4;
        private DataColumn columnAgentContactFax3;
        private DataColumn columnAgentContactFax4;
        private DataColumn columnAgentContactPerson;
        private DataColumn columnAgentContactPerson3;
        private DataColumn columnAgentContactPerson4;
        private DataColumn columnAgentContactPhone3;
        private DataColumn columnAgentContactPhone4;
        private DataColumn columnAgentDueDate;
        private DataColumn columnAgentEmailAddress;
        private DataColumn columnAgentEmailAddress2;
        private DataColumn columnAgentFax;
        private DataColumn columnAgentJobTitle;
        private DataColumn columnAgentMobilePhone;
        private DataColumn columnAgentMobilePhone2;
        private DataColumn columnAgentPhone;
        private DataColumn columnAgentPhone2;
        private DataColumn columnAgentWebSite;
        private DataColumn columnAltContactEmailAddress;
        private DataColumn columnAltContactFax;
        private DataColumn columnAltContactPerson;
        private DataColumn columnAltContactPersonTitle;
        private DataColumn columnAltContactPhone;
        private DataColumn columnApplicant;
        private DataColumn columnApplicationNo;
        private DataColumn columnClientAddress;
        private DataColumn columnClientChineseName;
        private DataColumn columnClientCompanyName;
        private DataColumn columnClientContactEmailAddress3;
        private DataColumn columnClientContactEmailAddress4;
        private DataColumn columnClientContactFax3;
        private DataColumn columnClientContactFax4;
        private DataColumn columnClientContactPerson;
        private DataColumn columnClientContactPerson3;
        private DataColumn columnClientContactPerson4;
        private DataColumn columnClientContactPhone3;
        private DataColumn columnClientContactPhone4;
        private DataColumn columnClientEmailAddress;
        private DataColumn columnClientEmailAddress2;
        private DataColumn columnClientFax;
        private DataColumn columnClientJobTitle;
        private DataColumn columnClientMobilePhone;
        private DataColumn columnClientMobilePhone2;
        private DataColumn columnClientName;
        private DataColumn columnClientPhone;
        private DataColumn columnClientPhone2;
        private DataColumn columnClientWebSite;
        private DataColumn columnCompletionDate;
        private DataColumn columnCountry;
        private DataColumn columnCountryEnglishName;
        private DataColumn columnCreateBy;
        private DataColumn columnFilingDate;
        private DataColumn columnFirstFilingYN;
        private DataColumn columnGrantDate;
        private DataColumn columnHeadingName;
        private DataColumn columnInventor;
        private DataColumn columnOwnerGroupID;
        private DataColumn columnPatentNumber;
        private DataColumn columnPCTYN;
        private DataColumn columnPriority;
        private DataColumn columnPriorityCountry;
        private DataColumn columnPriorityCountryEnglishName;
        private DataColumn columnPriorityDate;
        private DataColumn columnProjectClass;
        private DataColumn columnProjectCode;
        private DataColumn columnProjectGroupID;
        private DataColumn columnPublicationNumber;
        private DataColumn columnRemark;
        private DataColumn columnStatus;
        private DataColumn columnTitle;
        private DataColumn columnType;
        private DataColumn columnUpdateBy;

        public event IP.ProjectRowChangeEventHandler ProjectRowChanged;

        public event IP.ProjectRowChangeEventHandler ProjectRowChanging;

        public event IP.ProjectRowChangeEventHandler ProjectRowDeleted;

        public event IP.ProjectRowChangeEventHandler ProjectRowDeleting;

        /*[DebuggerNonUserCode]*/
        public ProjectDataTable()
        {
            base.TableName = "Project";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal ProjectDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected ProjectDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddProjectRow(IP.ProjectRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectRow AddProjectRow(string ProjectCode, string Type, string Status, string Country, IP.AgentRow parentAgentRowByFK_Project_Agent, string Title, string Applicant, string Inventor, string ApplicationNo, DateTime FilingDate, DateTime GrantDate, string ProjectGroupID, string CompletionDate, string AgentDueDate, string CreateBy, string UpdateBy, string OwnerGroupID, string PatentNumber, DateTime PriorityDate, string PriorityCountry, string ClientName, string PublicationNumber, string Remark, bool FirstFilingYN, string CountryEnglishName, string PriorityCountryEnglishName, string AltContactPerson, string AltContactPersonTitle, string AltContactFax, string AltContactPhone, string AltContactEmailAddress, string AgentCompanyName, string AgentChineseName, string AgentAddress, string AgentContactPerson, string AgentJobTitle, string AgentPhone, string AgentFax, string AgentPhone2, string AgentMobilePhone, string AgentMobilePhone2, string AgentWebSite, string AgentEmailAddress, string AgentEmailAddress2, string ClientCompanyName, string ClientChineseName, string ClientAddress, string ClientContactPerson, string ClientJobTitle, string ClientPhone, string ClientFax, string ClientPhone2, string ClientMobilePhone, string HeadingName, string ClientMobilePhone2, string ACMEDueDate, string ClientWebSite, string ClientEmailAddress, string ClientEmailAddress2, string ProjectClass, bool Priority, bool PCTYN, string AgentContactPerson3, string AgentContactPhone3, string AgentContactEmailAddress3, string AgentContactFax3, string AgentContactPerson4, string AgentContactPhone4, string AgentContactEmailAddress4, string AgentContactFax4, string ClientContactPerson3, string ClientContactPhone3, string ClientContactEmailAddress3, string ClientContactFax3, string ClientContactPerson4, string ClientContactPhone4, string ClientContactEmailAddress4, string ClientContactFax4)
        {
            IP.ProjectRow rowProjectRow = (IP.ProjectRow) base.NewRow();
            rowProjectRow.ItemArray = new object[] { 
                ProjectCode, Type, Status, Country, parentAgentRowByFK_Project_Agent[0], Title, Applicant, Inventor, ApplicationNo, FilingDate, GrantDate, ProjectGroupID, CompletionDate, AgentDueDate, CreateBy, UpdateBy, 
                OwnerGroupID, PatentNumber, PriorityDate, PriorityCountry, ClientName, PublicationNumber, Remark, FirstFilingYN, CountryEnglishName, PriorityCountryEnglishName, AltContactPerson, AltContactPersonTitle, AltContactFax, AltContactPhone, AltContactEmailAddress, AgentCompanyName, 
                AgentChineseName, AgentAddress, AgentContactPerson, AgentJobTitle, AgentPhone, AgentFax, AgentPhone2, AgentMobilePhone, AgentMobilePhone2, AgentWebSite, AgentEmailAddress, AgentEmailAddress2, ClientCompanyName, ClientChineseName, ClientAddress, ClientContactPerson, 
                ClientJobTitle, ClientPhone, ClientFax, ClientPhone2, ClientMobilePhone, HeadingName, ClientMobilePhone2, ACMEDueDate, ClientWebSite, ClientEmailAddress, ClientEmailAddress2, ProjectClass, Priority, PCTYN, AgentContactPerson3, AgentContactPhone3, 
                AgentContactEmailAddress3, AgentContactFax3, AgentContactPerson4, AgentContactPhone4, AgentContactEmailAddress4, AgentContactFax4, ClientContactPerson3, ClientContactPhone3, ClientContactEmailAddress3, ClientContactFax3, ClientContactPerson4, ClientContactPhone4, ClientContactEmailAddress4, ClientContactFax4
             };
            base.Rows.Add(rowProjectRow);
            return rowProjectRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.ProjectDataTable cln = (IP.ProjectDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.ProjectDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectRow FindByProjectCode(string ProjectCode)
        {
            return (IP.ProjectRow) base.Rows.Find(new object[] { ProjectCode });
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.ProjectRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "ProjectDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnProjectCode = new DataColumn("ProjectCode", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnProjectCode);
            this.columnType = new DataColumn("Type", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnType);
            this.columnStatus = new DataColumn("Status", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnStatus);
            this.columnCountry = new DataColumn("Country", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCountry);
            this.columnAgent = new DataColumn("Agent", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgent);
            this.columnTitle = new DataColumn("Title", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnTitle);
            this.columnApplicant = new DataColumn("Applicant", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnApplicant);
            this.columnInventor = new DataColumn("Inventor", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnInventor);
            this.columnApplicationNo = new DataColumn("ApplicationNo", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnApplicationNo);
            this.columnFilingDate = new DataColumn("FilingDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnFilingDate);
            this.columnGrantDate = new DataColumn("GrantDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnGrantDate);
            this.columnProjectGroupID = new DataColumn("ProjectGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnProjectGroupID);
            this.columnCompletionDate = new DataColumn("CompletionDate", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCompletionDate);
            this.columnAgentDueDate = new DataColumn("AgentDueDate", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentDueDate);
            this.columnCreateBy = new DataColumn("CreateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCreateBy);
            this.columnUpdateBy = new DataColumn("UpdateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateBy);
            this.columnOwnerGroupID = new DataColumn("OwnerGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnOwnerGroupID);
            this.columnPatentNumber = new DataColumn("PatentNumber", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnPatentNumber);
            this.columnPriorityDate = new DataColumn("PriorityDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnPriorityDate);
            this.columnPriorityCountry = new DataColumn("PriorityCountry", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnPriorityCountry);
            this.columnClientName = new DataColumn("ClientName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientName);
            this.columnPublicationNumber = new DataColumn("PublicationNumber", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnPublicationNumber);
            this.columnRemark = new DataColumn("Remark", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnRemark);
            this.columnFirstFilingYN = new DataColumn("FirstFilingYN", typeof(bool), null, MappingType.Element);
            base.Columns.Add(this.columnFirstFilingYN);
            this.columnCountryEnglishName = new DataColumn("CountryEnglishName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCountryEnglishName);
            this.columnPriorityCountryEnglishName = new DataColumn("PriorityCountryEnglishName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnPriorityCountryEnglishName);
            this.columnAltContactPerson = new DataColumn("AltContactPerson", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAltContactPerson);
            this.columnAltContactPersonTitle = new DataColumn("AltContactPersonTitle", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAltContactPersonTitle);
            this.columnAltContactFax = new DataColumn("AltContactFax", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAltContactFax);
            this.columnAltContactPhone = new DataColumn("AltContactPhone", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAltContactPhone);
            this.columnAltContactEmailAddress = new DataColumn("AltContactEmailAddress", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAltContactEmailAddress);
            this.columnAgentCompanyName = new DataColumn("AgentCompanyName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentCompanyName);
            this.columnAgentChineseName = new DataColumn("AgentChineseName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentChineseName);
            this.columnAgentAddress = new DataColumn("AgentAddress", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentAddress);
            this.columnAgentContactPerson = new DataColumn("AgentContactPerson", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentContactPerson);
            this.columnAgentJobTitle = new DataColumn("AgentJobTitle", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentJobTitle);
            this.columnAgentPhone = new DataColumn("AgentPhone", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentPhone);
            this.columnAgentFax = new DataColumn("AgentFax", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentFax);
            this.columnAgentPhone2 = new DataColumn("AgentPhone2", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentPhone2);
            this.columnAgentMobilePhone = new DataColumn("AgentMobilePhone", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentMobilePhone);
            this.columnAgentMobilePhone2 = new DataColumn("AgentMobilePhone2", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentMobilePhone2);
            this.columnAgentWebSite = new DataColumn("AgentWebSite", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentWebSite);
            this.columnAgentEmailAddress = new DataColumn("AgentEmailAddress", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentEmailAddress);
            this.columnAgentEmailAddress2 = new DataColumn("AgentEmailAddress2", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentEmailAddress2);
            this.columnClientCompanyName = new DataColumn("ClientCompanyName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientCompanyName);
            this.columnClientChineseName = new DataColumn("ClientChineseName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientChineseName);
            this.columnClientAddress = new DataColumn("ClientAddress", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientAddress);
            this.columnClientContactPerson = new DataColumn("ClientContactPerson", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientContactPerson);
            this.columnClientJobTitle = new DataColumn("ClientJobTitle", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientJobTitle);
            this.columnClientPhone = new DataColumn("ClientPhone", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientPhone);
            this.columnClientFax = new DataColumn("ClientFax", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientFax);
            this.columnClientPhone2 = new DataColumn("ClientPhone2", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientPhone2);
            this.columnClientMobilePhone = new DataColumn("ClientMobilePhone", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientMobilePhone);
            this.columnHeadingName = new DataColumn("HeadingName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnHeadingName);
            this.columnClientMobilePhone2 = new DataColumn("ClientMobilePhone2", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientMobilePhone2);
            this.columnACMEDueDate = new DataColumn("ACMEDueDate", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnACMEDueDate);
            this.columnClientWebSite = new DataColumn("ClientWebSite", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientWebSite);
            this.columnClientEmailAddress = new DataColumn("ClientEmailAddress", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientEmailAddress);
            this.columnClientEmailAddress2 = new DataColumn("ClientEmailAddress2", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientEmailAddress2);
            this.columnProjectClass = new DataColumn("ProjectClass", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnProjectClass);
            this.columnPriority = new DataColumn("Priority", typeof(bool), null, MappingType.Element);
            base.Columns.Add(this.columnPriority);
            this.columnPCTYN = new DataColumn("PCTYN", typeof(bool), null, MappingType.Element);
            base.Columns.Add(this.columnPCTYN);
            this.columnAgentContactPerson3 = new DataColumn("AgentContactPerson3", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentContactPerson3);
            this.columnAgentContactPhone3 = new DataColumn("AgentContactPhone3", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentContactPhone3);
            this.columnAgentContactEmailAddress3 = new DataColumn("AgentContactEmailAddress3", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentContactEmailAddress3);
            this.columnAgentContactFax3 = new DataColumn("AgentContactFax3", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentContactFax3);
            this.columnAgentContactPerson4 = new DataColumn("AgentContactPerson4", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentContactPerson4);
            this.columnAgentContactPhone4 = new DataColumn("AgentContactPhone4", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentContactPhone4);
            this.columnAgentContactEmailAddress4 = new DataColumn("AgentContactEmailAddress4", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentContactEmailAddress4);
            this.columnAgentContactFax4 = new DataColumn("AgentContactFax4", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgentContactFax4);
            this.columnClientContactPerson3 = new DataColumn("ClientContactPerson3", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientContactPerson3);
            this.columnClientContactPhone3 = new DataColumn("ClientContactPhone3", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientContactPhone3);
            this.columnClientContactEmailAddress3 = new DataColumn("ClientContactEmailAddress3", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientContactEmailAddress3);
            this.columnClientContactFax3 = new DataColumn("ClientContactFax3", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientContactFax3);
            this.columnClientContactPerson4 = new DataColumn("ClientContactPerson4", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientContactPerson4);
            this.columnClientContactPhone4 = new DataColumn("ClientContactPhone4", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientContactPhone4);
            this.columnClientContactEmailAddress4 = new DataColumn("ClientContactEmailAddress4", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientContactEmailAddress4);
            this.columnClientContactFax4 = new DataColumn("ClientContactFax4", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClientContactFax4);
            base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnProjectCode }, true));
            this.columnProjectCode.AllowDBNull = false;
            this.columnProjectCode.Unique = true;
            this.columnProjectCode.MaxLength = 30;
            this.columnType.AllowDBNull = false;
            this.columnType.MaxLength = 30;
            this.columnStatus.MaxLength = 30;
            this.columnCountry.MaxLength = 30;
            this.columnAgent.MaxLength = 30;
            this.columnTitle.MaxLength = 60;
            this.columnApplicant.MaxLength = 30;
            this.columnInventor.MaxLength = 30;
            this.columnApplicationNo.MaxLength = 30;
            this.columnProjectGroupID.MaxLength = 30;
            this.columnCreateBy.AllowDBNull = false;
            this.columnCreateBy.MaxLength = 30;
            this.columnUpdateBy.AllowDBNull = false;
            this.columnUpdateBy.MaxLength = 30;
            this.columnOwnerGroupID.AllowDBNull = false;
            this.columnOwnerGroupID.MaxLength = 30;
            this.columnPatentNumber.MaxLength = 30;
            this.columnPriorityCountry.MaxLength = 30;
            this.columnClientName.MaxLength = 30;
            this.columnPublicationNumber.MaxLength = 30;
            this.columnRemark.MaxLength = 100;
            this.columnCountryEnglishName.MaxLength = 100;
            this.columnPriorityCountryEnglishName.MaxLength = 100;
            this.columnAltContactPerson.MaxLength = 30;
            this.columnAltContactPersonTitle.MaxLength = 60;
            this.columnAltContactFax.MaxLength = 30;
            this.columnAltContactPhone.MaxLength = 30;
            this.columnAltContactEmailAddress.MaxLength = 30;
            this.columnAgentCompanyName.MaxLength = 100;
            this.columnAgentChineseName.MaxLength = 100;
            this.columnAgentAddress.MaxLength = 100;
            this.columnAgentContactPerson.MaxLength = 30;
            this.columnAgentJobTitle.MaxLength = 30;
            this.columnAgentPhone.MaxLength = 30;
            this.columnAgentFax.MaxLength = 30;
            this.columnAgentPhone2.MaxLength = 30;
            this.columnAgentMobilePhone.MaxLength = 30;
            this.columnAgentMobilePhone2.MaxLength = 30;
            this.columnAgentWebSite.MaxLength = 100;
            this.columnAgentEmailAddress.MaxLength = 30;
            this.columnAgentEmailAddress2.MaxLength = 30;
            this.columnClientCompanyName.MaxLength = 100;
            this.columnClientChineseName.MaxLength = 100;
            this.columnClientAddress.MaxLength = 100;
            this.columnClientContactPerson.MaxLength = 30;
            this.columnClientJobTitle.MaxLength = 30;
            this.columnClientPhone.MaxLength = 30;
            this.columnClientFax.MaxLength = 30;
            this.columnClientPhone2.MaxLength = 30;
            this.columnClientMobilePhone.MaxLength = 30;
            this.columnClientMobilePhone2.MaxLength = 30;
            this.columnClientWebSite.MaxLength = 100;
            this.columnClientEmailAddress.MaxLength = 30;
            this.columnClientEmailAddress2.MaxLength = 30;
            this.columnProjectClass.MaxLength = 30;
            this.columnAgentContactPerson3.MaxLength = 30;
            this.columnAgentContactPhone3.MaxLength = 30;
            this.columnAgentContactEmailAddress3.MaxLength = 30;
            this.columnAgentContactFax3.MaxLength = 30;
            this.columnAgentContactPerson4.MaxLength = 30;
            this.columnAgentContactPhone4.MaxLength = 30;
            this.columnAgentContactEmailAddress4.MaxLength = 30;
            this.columnAgentContactFax4.MaxLength = 30;
            this.columnClientContactPerson3.MaxLength = 30;
            this.columnClientContactPhone3.MaxLength = 30;
            this.columnClientContactEmailAddress3.MaxLength = 30;
            this.columnClientContactFax3.MaxLength = 30;
            this.columnClientContactPerson4.MaxLength = 30;
            this.columnClientContactPhone4.MaxLength = 30;
            this.columnClientContactEmailAddress4.MaxLength = 30;
            this.columnClientContactFax4.MaxLength = 30;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnProjectCode = base.Columns["ProjectCode"];
            this.columnType = base.Columns["Type"];
            this.columnStatus = base.Columns["Status"];
            this.columnCountry = base.Columns["Country"];
            this.columnAgent = base.Columns["Agent"];
            this.columnTitle = base.Columns["Title"];
            this.columnApplicant = base.Columns["Applicant"];
            this.columnInventor = base.Columns["Inventor"];
            this.columnApplicationNo = base.Columns["ApplicationNo"];
            this.columnFilingDate = base.Columns["FilingDate"];
            this.columnGrantDate = base.Columns["GrantDate"];
            this.columnProjectGroupID = base.Columns["ProjectGroupID"];
            this.columnCompletionDate = base.Columns["CompletionDate"];
            this.columnAgentDueDate = base.Columns["AgentDueDate"];
            this.columnCreateBy = base.Columns["CreateBy"];
            this.columnUpdateBy = base.Columns["UpdateBy"];
            this.columnOwnerGroupID = base.Columns["OwnerGroupID"];
            this.columnPatentNumber = base.Columns["PatentNumber"];
            this.columnPriorityDate = base.Columns["PriorityDate"];
            this.columnPriorityCountry = base.Columns["PriorityCountry"];
            this.columnClientName = base.Columns["ClientName"];
            this.columnPublicationNumber = base.Columns["PublicationNumber"];
            this.columnRemark = base.Columns["Remark"];
            this.columnFirstFilingYN = base.Columns["FirstFilingYN"];
            this.columnCountryEnglishName = base.Columns["CountryEnglishName"];
            this.columnPriorityCountryEnglishName = base.Columns["PriorityCountryEnglishName"];
            this.columnAltContactPerson = base.Columns["AltContactPerson"];
            this.columnAltContactPersonTitle = base.Columns["AltContactPersonTitle"];
            this.columnAltContactFax = base.Columns["AltContactFax"];
            this.columnAltContactPhone = base.Columns["AltContactPhone"];
            this.columnAltContactEmailAddress = base.Columns["AltContactEmailAddress"];
            this.columnAgentCompanyName = base.Columns["AgentCompanyName"];
            this.columnAgentChineseName = base.Columns["AgentChineseName"];
            this.columnAgentAddress = base.Columns["AgentAddress"];
            this.columnAgentContactPerson = base.Columns["AgentContactPerson"];
            this.columnAgentJobTitle = base.Columns["AgentJobTitle"];
            this.columnAgentPhone = base.Columns["AgentPhone"];
            this.columnAgentFax = base.Columns["AgentFax"];
            this.columnAgentPhone2 = base.Columns["AgentPhone2"];
            this.columnAgentMobilePhone = base.Columns["AgentMobilePhone"];
            this.columnAgentMobilePhone2 = base.Columns["AgentMobilePhone2"];
            this.columnAgentWebSite = base.Columns["AgentWebSite"];
            this.columnAgentEmailAddress = base.Columns["AgentEmailAddress"];
            this.columnAgentEmailAddress2 = base.Columns["AgentEmailAddress2"];
            this.columnClientCompanyName = base.Columns["ClientCompanyName"];
            this.columnClientChineseName = base.Columns["ClientChineseName"];
            this.columnClientAddress = base.Columns["ClientAddress"];
            this.columnClientContactPerson = base.Columns["ClientContactPerson"];
            this.columnClientJobTitle = base.Columns["ClientJobTitle"];
            this.columnClientPhone = base.Columns["ClientPhone"];
            this.columnClientFax = base.Columns["ClientFax"];
            this.columnClientPhone2 = base.Columns["ClientPhone2"];
            this.columnClientMobilePhone = base.Columns["ClientMobilePhone"];
            this.columnHeadingName = base.Columns["HeadingName"];
            this.columnClientMobilePhone2 = base.Columns["ClientMobilePhone2"];
            this.columnACMEDueDate = base.Columns["ACMEDueDate"];
            this.columnClientWebSite = base.Columns["ClientWebSite"];
            this.columnClientEmailAddress = base.Columns["ClientEmailAddress"];
            this.columnClientEmailAddress2 = base.Columns["ClientEmailAddress2"];
            this.columnProjectClass = base.Columns["ProjectClass"];
            this.columnPriority = base.Columns["Priority"];
            this.columnPCTYN = base.Columns["PCTYN"];
            this.columnAgentContactPerson3 = base.Columns["AgentContactPerson3"];
            this.columnAgentContactPhone3 = base.Columns["AgentContactPhone3"];
            this.columnAgentContactEmailAddress3 = base.Columns["AgentContactEmailAddress3"];
            this.columnAgentContactFax3 = base.Columns["AgentContactFax3"];
            this.columnAgentContactPerson4 = base.Columns["AgentContactPerson4"];
            this.columnAgentContactPhone4 = base.Columns["AgentContactPhone4"];
            this.columnAgentContactEmailAddress4 = base.Columns["AgentContactEmailAddress4"];
            this.columnAgentContactFax4 = base.Columns["AgentContactFax4"];
            this.columnClientContactPerson3 = base.Columns["ClientContactPerson3"];
            this.columnClientContactPhone3 = base.Columns["ClientContactPhone3"];
            this.columnClientContactEmailAddress3 = base.Columns["ClientContactEmailAddress3"];
            this.columnClientContactFax3 = base.Columns["ClientContactFax3"];
            this.columnClientContactPerson4 = base.Columns["ClientContactPerson4"];
            this.columnClientContactPhone4 = base.Columns["ClientContactPhone4"];
            this.columnClientContactEmailAddress4 = base.Columns["ClientContactEmailAddress4"];
            this.columnClientContactFax4 = base.Columns["ClientContactFax4"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectRow NewProjectRow()
        {
            return (IP.ProjectRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.ProjectRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.ProjectRowChanged != null)
            {
                this.ProjectRowChanged(this, new IP.ProjectRowChangeEvent((IP.ProjectRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.ProjectRowChanging != null)
            {
                this.ProjectRowChanging(this, new IP.ProjectRowChangeEvent((IP.ProjectRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.ProjectRowDeleted != null)
            {
                this.ProjectRowDeleted(this, new IP.ProjectRowChangeEvent((IP.ProjectRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.ProjectRowDeleting != null)
            {
                this.ProjectRowDeleting(this, new IP.ProjectRowChangeEvent((IP.ProjectRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveProjectRow(IP.ProjectRow row)
        {
            base.Rows.Remove(row);
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ACMEDueDateColumn
        {
            get
            {
                return this.columnACMEDueDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentAddressColumn
        {
            get
            {
                return this.columnAgentAddress;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentChineseNameColumn
        {
            get
            {
                return this.columnAgentChineseName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentColumn
        {
            get
            {
                return this.columnAgent;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentCompanyNameColumn
        {
            get
            {
                return this.columnAgentCompanyName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentContactEmailAddress3Column
        {
            get
            {
                return this.columnAgentContactEmailAddress3;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentContactEmailAddress4Column
        {
            get
            {
                return this.columnAgentContactEmailAddress4;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentContactFax3Column
        {
            get
            {
                return this.columnAgentContactFax3;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentContactFax4Column
        {
            get
            {
                return this.columnAgentContactFax4;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentContactPerson3Column
        {
            get
            {
                return this.columnAgentContactPerson3;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentContactPerson4Column
        {
            get
            {
                return this.columnAgentContactPerson4;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentContactPersonColumn
        {
            get
            {
                return this.columnAgentContactPerson;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentContactPhone3Column
        {
            get
            {
                return this.columnAgentContactPhone3;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentContactPhone4Column
        {
            get
            {
                return this.columnAgentContactPhone4;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentDueDateColumn
        {
            get
            {
                return this.columnAgentDueDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentEmailAddress2Column
        {
            get
            {
                return this.columnAgentEmailAddress2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentEmailAddressColumn
        {
            get
            {
                return this.columnAgentEmailAddress;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentFaxColumn
        {
            get
            {
                return this.columnAgentFax;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentJobTitleColumn
        {
            get
            {
                return this.columnAgentJobTitle;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentMobilePhone2Column
        {
            get
            {
                return this.columnAgentMobilePhone2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentMobilePhoneColumn
        {
            get
            {
                return this.columnAgentMobilePhone;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentPhone2Column
        {
            get
            {
                return this.columnAgentPhone2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentPhoneColumn
        {
            get
            {
                return this.columnAgentPhone;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentWebSiteColumn
        {
            get
            {
                return this.columnAgentWebSite;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AltContactEmailAddressColumn
        {
            get
            {
                return this.columnAltContactEmailAddress;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AltContactFaxColumn
        {
            get
            {
                return this.columnAltContactFax;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AltContactPersonColumn
        {
            get
            {
                return this.columnAltContactPerson;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AltContactPersonTitleColumn
        {
            get
            {
                return this.columnAltContactPersonTitle;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AltContactPhoneColumn
        {
            get
            {
                return this.columnAltContactPhone;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ApplicantColumn
        {
            get
            {
                return this.columnApplicant;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ApplicationNoColumn
        {
            get
            {
                return this.columnApplicationNo;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientAddressColumn
        {
            get
            {
                return this.columnClientAddress;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientChineseNameColumn
        {
            get
            {
                return this.columnClientChineseName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientCompanyNameColumn
        {
            get
            {
                return this.columnClientCompanyName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientContactEmailAddress3Column
        {
            get
            {
                return this.columnClientContactEmailAddress3;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientContactEmailAddress4Column
        {
            get
            {
                return this.columnClientContactEmailAddress4;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientContactFax3Column
        {
            get
            {
                return this.columnClientContactFax3;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientContactFax4Column
        {
            get
            {
                return this.columnClientContactFax4;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientContactPerson3Column
        {
            get
            {
                return this.columnClientContactPerson3;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientContactPerson4Column
        {
            get
            {
                return this.columnClientContactPerson4;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientContactPersonColumn
        {
            get
            {
                return this.columnClientContactPerson;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientContactPhone3Column
        {
            get
            {
                return this.columnClientContactPhone3;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientContactPhone4Column
        {
            get
            {
                return this.columnClientContactPhone4;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientEmailAddress2Column
        {
            get
            {
                return this.columnClientEmailAddress2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientEmailAddressColumn
        {
            get
            {
                return this.columnClientEmailAddress;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientFaxColumn
        {
            get
            {
                return this.columnClientFax;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientJobTitleColumn
        {
            get
            {
                return this.columnClientJobTitle;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientMobilePhone2Column
        {
            get
            {
                return this.columnClientMobilePhone2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientMobilePhoneColumn
        {
            get
            {
                return this.columnClientMobilePhone;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientNameColumn
        {
            get
            {
                return this.columnClientName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientPhone2Column
        {
            get
            {
                return this.columnClientPhone2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientPhoneColumn
        {
            get
            {
                return this.columnClientPhone;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientWebSiteColumn
        {
            get
            {
                return this.columnClientWebSite;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CompletionDateColumn
        {
            get
            {
                return this.columnCompletionDate;
            }
        }

        [Browsable(false), DebuggerNonUserCode]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CountryColumn
        {
            get
            {
                return this.columnCountry;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CountryEnglishNameColumn
        {
            get
            {
                return this.columnCountryEnglishName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateByColumn
        {
            get
            {
                return this.columnCreateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn FilingDateColumn
        {
            get
            {
                return this.columnFilingDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn FirstFilingYNColumn
        {
            get
            {
                return this.columnFirstFilingYN;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn GrantDateColumn
        {
            get
            {
                return this.columnGrantDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn HeadingNameColumn
        {
            get
            {
                return this.columnHeadingName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn InventorColumn
        {
            get
            {
                return this.columnInventor;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectRow this[int index]
        {
            get
            {
                return (IP.ProjectRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OwnerGroupIDColumn
        {
            get
            {
                return this.columnOwnerGroupID;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn PatentNumberColumn
        {
            get
            {
                return this.columnPatentNumber;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn PCTYNColumn
        {
            get
            {
                return this.columnPCTYN;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn PriorityColumn
        {
            get
            {
                return this.columnPriority;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn PriorityCountryColumn
        {
            get
            {
                return this.columnPriorityCountry;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn PriorityCountryEnglishNameColumn
        {
            get
            {
                return this.columnPriorityCountryEnglishName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn PriorityDateColumn
        {
            get
            {
                return this.columnPriorityDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ProjectClassColumn
        {
            get
            {
                return this.columnProjectClass;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ProjectCodeColumn
        {
            get
            {
                return this.columnProjectCode;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ProjectGroupIDColumn
        {
            get
            {
                return this.columnProjectGroupID;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn PublicationNumberColumn
        {
            get
            {
                return this.columnPublicationNumber;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn RemarkColumn
        {
            get
            {
                return this.columnRemark;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn StatusColumn
        {
            get
            {
                return this.columnStatus;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn TitleColumn
        {
            get
            {
                return this.columnTitle;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn TypeColumn
        {
            get
            {
                return this.columnType;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateByColumn
        {
            get
            {
                return this.columnUpdateBy;
            }
        }
    }

    [Serializable, XmlSchemaProvider("GetTypedTableSchema"), GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectDistinctPGIDataTable : DataTable, IEnumerable
    {
        private DataColumn columnProjectGroupID;

        public event IP.ProjectDistinctPGIRowChangeEventHandler ProjectDistinctPGIRowChanged;

        public event IP.ProjectDistinctPGIRowChangeEventHandler ProjectDistinctPGIRowChanging;

        public event IP.ProjectDistinctPGIRowChangeEventHandler ProjectDistinctPGIRowDeleted;

        public event IP.ProjectDistinctPGIRowChangeEventHandler ProjectDistinctPGIRowDeleting;

        /*[DebuggerNonUserCode]*/
        public ProjectDistinctPGIDataTable()
        {
            base.TableName = "ProjectDistinctPGI";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal ProjectDistinctPGIDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected ProjectDistinctPGIDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddProjectDistinctPGIRow(IP.ProjectDistinctPGIRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectDistinctPGIRow AddProjectDistinctPGIRow(string ProjectGroupID)
        {
            IP.ProjectDistinctPGIRow rowProjectDistinctPGIRow = (IP.ProjectDistinctPGIRow) base.NewRow();
            rowProjectDistinctPGIRow.ItemArray = new object[] { ProjectGroupID };
            base.Rows.Add(rowProjectDistinctPGIRow);
            return rowProjectDistinctPGIRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.ProjectDistinctPGIDataTable cln = (IP.ProjectDistinctPGIDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.ProjectDistinctPGIDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.ProjectDistinctPGIRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "ProjectDistinctPGIDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnProjectGroupID = new DataColumn("ProjectGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnProjectGroupID);
            this.columnProjectGroupID.AllowDBNull = false;
            this.columnProjectGroupID.MaxLength = 30;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnProjectGroupID = base.Columns["ProjectGroupID"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectDistinctPGIRow NewProjectDistinctPGIRow()
        {
            return (IP.ProjectDistinctPGIRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.ProjectDistinctPGIRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.ProjectDistinctPGIRowChanged != null)
            {
                this.ProjectDistinctPGIRowChanged(this, new IP.ProjectDistinctPGIRowChangeEvent((IP.ProjectDistinctPGIRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.ProjectDistinctPGIRowChanging != null)
            {
                this.ProjectDistinctPGIRowChanging(this, new IP.ProjectDistinctPGIRowChangeEvent((IP.ProjectDistinctPGIRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.ProjectDistinctPGIRowDeleted != null)
            {
                this.ProjectDistinctPGIRowDeleted(this, new IP.ProjectDistinctPGIRowChangeEvent((IP.ProjectDistinctPGIRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.ProjectDistinctPGIRowDeleting != null)
            {
                this.ProjectDistinctPGIRowDeleting(this, new IP.ProjectDistinctPGIRowChangeEvent((IP.ProjectDistinctPGIRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveProjectDistinctPGIRow(IP.ProjectDistinctPGIRow row)
        {
            base.Rows.Remove(row);
        }

        [Browsable(false), DebuggerNonUserCode]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectDistinctPGIRow this[int index]
        {
            get
            {
                return (IP.ProjectDistinctPGIRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ProjectGroupIDColumn
        {
            get
            {
                return this.columnProjectGroupID;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectDistinctPGIRow : DataRow
    {
        private IP.ProjectDistinctPGIDataTable tableProjectDistinctPGI;

        /*[DebuggerNonUserCode]*/
        internal ProjectDistinctPGIRow(DataRowBuilder rb) : base(rb)
        {
            this.tableProjectDistinctPGI = (IP.ProjectDistinctPGIDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public string ProjectGroupID
        {
            get
            {
                return (string) base[this.tableProjectDistinctPGI.ProjectGroupIDColumn];
            }
            set
            {
                base[this.tableProjectDistinctPGI.ProjectGroupIDColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectDistinctPGIRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.ProjectDistinctPGIRow eventRow;

        /*[DebuggerNonUserCode]*/
        public ProjectDistinctPGIRowChangeEvent(IP.ProjectDistinctPGIRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectDistinctPGIRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void ProjectDistinctPGIRowChangeEventHandler(object sender, IP.ProjectDistinctPGIRowChangeEvent e);

    [Serializable, XmlSchemaProvider("GetTypedTableSchema"), GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectDocumentDataTable : DataTable, IEnumerable
    {
        private DataColumn columnCreateBy;
        private DataColumn columnDateAdded;
        private DataColumn columnDescription;
        private DataColumn columnFileName;
        private DataColumn columnOwnerGroupID;
        private DataColumn columnProjectCode;
        private DataColumn columnSection;
        private DataColumn columnType;
        private DataColumn columnTypeSeq;
        private DataColumn columnUpdateBy;

        public event IP.ProjectDocumentRowChangeEventHandler ProjectDocumentRowChanged;

        public event IP.ProjectDocumentRowChangeEventHandler ProjectDocumentRowChanging;

        public event IP.ProjectDocumentRowChangeEventHandler ProjectDocumentRowDeleted;

        public event IP.ProjectDocumentRowChangeEventHandler ProjectDocumentRowDeleting;

        /*[DebuggerNonUserCode]*/
        public ProjectDocumentDataTable()
        {
            base.TableName = "ProjectDocument";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal ProjectDocumentDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected ProjectDocumentDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddProjectDocumentRow(IP.ProjectDocumentRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectDocumentRow AddProjectDocumentRow(IP.ProjectRow parentProjectRowByFK_ProjectDocument_Project, DateTime DateAdded, string FileName, string Section, string Type, string CreateBy, string UpdateBy, string OwnerGroupID, string Description, string TypeSeq)
        {
            IP.ProjectDocumentRow rowProjectDocumentRow = (IP.ProjectDocumentRow) base.NewRow();
            rowProjectDocumentRow.ItemArray = new object[] { parentProjectRowByFK_ProjectDocument_Project[0], DateAdded, FileName, Section, Type, CreateBy, UpdateBy, OwnerGroupID, Description, TypeSeq };
            base.Rows.Add(rowProjectDocumentRow);
            return rowProjectDocumentRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.ProjectDocumentDataTable cln = (IP.ProjectDocumentDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.ProjectDocumentDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectDocumentRow FindByProjectCodeFileNameSectionType(string ProjectCode, string FileName, string Section, string Type)
        {
            return (IP.ProjectDocumentRow) base.Rows.Find(new object[] { ProjectCode, FileName, Section, Type });
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.ProjectDocumentRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "ProjectDocumentDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnProjectCode = new DataColumn("ProjectCode", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnProjectCode);
            this.columnDateAdded = new DataColumn("DateAdded", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnDateAdded);
            this.columnFileName = new DataColumn("FileName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnFileName);
            this.columnSection = new DataColumn("Section", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnSection);
            this.columnType = new DataColumn("Type", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnType);
            this.columnCreateBy = new DataColumn("CreateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCreateBy);
            this.columnUpdateBy = new DataColumn("UpdateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateBy);
            this.columnOwnerGroupID = new DataColumn("OwnerGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnOwnerGroupID);
            this.columnDescription = new DataColumn("Description", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnDescription);
            this.columnTypeSeq = new DataColumn("TypeSeq", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnTypeSeq);
            base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnProjectCode, this.columnFileName, this.columnSection, this.columnType }, true));
            this.columnProjectCode.AllowDBNull = false;
            this.columnProjectCode.MaxLength = 30;
            this.columnDateAdded.AllowDBNull = false;
            this.columnFileName.AllowDBNull = false;
            this.columnFileName.MaxLength = 150;
            this.columnSection.AllowDBNull = false;
            this.columnSection.MaxLength = 30;
            this.columnType.AllowDBNull = false;
            this.columnType.MaxLength = 100;
            this.columnCreateBy.AllowDBNull = false;
            this.columnCreateBy.MaxLength = 30;
            this.columnUpdateBy.AllowDBNull = false;
            this.columnUpdateBy.MaxLength = 30;
            this.columnOwnerGroupID.AllowDBNull = false;
            this.columnOwnerGroupID.MaxLength = 30;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnProjectCode = base.Columns["ProjectCode"];
            this.columnDateAdded = base.Columns["DateAdded"];
            this.columnFileName = base.Columns["FileName"];
            this.columnSection = base.Columns["Section"];
            this.columnType = base.Columns["Type"];
            this.columnCreateBy = base.Columns["CreateBy"];
            this.columnUpdateBy = base.Columns["UpdateBy"];
            this.columnOwnerGroupID = base.Columns["OwnerGroupID"];
            this.columnDescription = base.Columns["Description"];
            this.columnTypeSeq = base.Columns["TypeSeq"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectDocumentRow NewProjectDocumentRow()
        {
            return (IP.ProjectDocumentRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.ProjectDocumentRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.ProjectDocumentRowChanged != null)
            {
                this.ProjectDocumentRowChanged(this, new IP.ProjectDocumentRowChangeEvent((IP.ProjectDocumentRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.ProjectDocumentRowChanging != null)
            {
                this.ProjectDocumentRowChanging(this, new IP.ProjectDocumentRowChangeEvent((IP.ProjectDocumentRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.ProjectDocumentRowDeleted != null)
            {
                this.ProjectDocumentRowDeleted(this, new IP.ProjectDocumentRowChangeEvent((IP.ProjectDocumentRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.ProjectDocumentRowDeleting != null)
            {
                this.ProjectDocumentRowDeleting(this, new IP.ProjectDocumentRowChangeEvent((IP.ProjectDocumentRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveProjectDocumentRow(IP.ProjectDocumentRow row)
        {
            base.Rows.Remove(row);
        }

        [DebuggerNonUserCode, Browsable(false)]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateByColumn
        {
            get
            {
                return this.columnCreateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DateAddedColumn
        {
            get
            {
                return this.columnDateAdded;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DescriptionColumn
        {
            get
            {
                return this.columnDescription;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn FileNameColumn
        {
            get
            {
                return this.columnFileName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectDocumentRow this[int index]
        {
            get
            {
                return (IP.ProjectDocumentRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OwnerGroupIDColumn
        {
            get
            {
                return this.columnOwnerGroupID;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ProjectCodeColumn
        {
            get
            {
                return this.columnProjectCode;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn SectionColumn
        {
            get
            {
                return this.columnSection;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn TypeColumn
        {
            get
            {
                return this.columnType;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn TypeSeqColumn
        {
            get
            {
                return this.columnTypeSeq;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateByColumn
        {
            get
            {
                return this.columnUpdateBy;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectDocumentRow : DataRow
    {
        private IP.ProjectDocumentDataTable tableProjectDocument;

        /*[DebuggerNonUserCode]*/
        internal ProjectDocumentRow(DataRowBuilder rb) : base(rb)
        {
            this.tableProjectDocument = (IP.ProjectDocumentDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDescriptionNull()
        {
            return base.IsNull(this.tableProjectDocument.DescriptionColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsTypeSeqNull()
        {
            return base.IsNull(this.tableProjectDocument.TypeSeqColumn);
        }

        /*[DebuggerNonUserCode]*/
        public void SetDescriptionNull()
        {
            base[this.tableProjectDocument.DescriptionColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetTypeSeqNull()
        {
            base[this.tableProjectDocument.TypeSeqColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public string CreateBy
        {
            get
            {
                return (string) base[this.tableProjectDocument.CreateByColumn];
            }
            set
            {
                base[this.tableProjectDocument.CreateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime DateAdded
        {
            get
            {
                return (DateTime) base[this.tableProjectDocument.DateAddedColumn];
            }
            set
            {
                base[this.tableProjectDocument.DateAddedColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Description
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectDocument.DescriptionColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Description' in table 'ProjectDocument' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectDocument.DescriptionColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string FileName
        {
            get
            {
                return (string) base[this.tableProjectDocument.FileNameColumn];
            }
            set
            {
                base[this.tableProjectDocument.FileNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.GetReminder2SpRow GetReminder2SpRow
        {
            get
            {
                return (IP.GetReminder2SpRow) base.GetParentRow(base.Table.ParentRelations["FK_ProjectDocument_Project1"]);
            }
            set
            {
                base.SetParentRow(value, base.Table.ParentRelations["FK_ProjectDocument_Project1"]);
            }
        }

        /*[DebuggerNonUserCode]*/
        public string OwnerGroupID
        {
            get
            {
                return (string) base[this.tableProjectDocument.OwnerGroupIDColumn];
            }
            set
            {
                base[this.tableProjectDocument.OwnerGroupIDColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ProjectCode
        {
            get
            {
                return (string) base[this.tableProjectDocument.ProjectCodeColumn];
            }
            set
            {
                base[this.tableProjectDocument.ProjectCodeColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectRow ProjectRow
        {
            get
            {
                return (IP.ProjectRow) base.GetParentRow(base.Table.ParentRelations["FK_ProjectDocument_Project"]);
            }
            set
            {
                base.SetParentRow(value, base.Table.ParentRelations["FK_ProjectDocument_Project"]);
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Section
        {
            get
            {
                return (string) base[this.tableProjectDocument.SectionColumn];
            }
            set
            {
                base[this.tableProjectDocument.SectionColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Type
        {
            get
            {
                return (string) base[this.tableProjectDocument.TypeColumn];
            }
            set
            {
                base[this.tableProjectDocument.TypeColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string TypeSeq
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectDocument.TypeSeqColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'TypeSeq' in table 'ProjectDocument' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectDocument.TypeSeqColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string UpdateBy
        {
            get
            {
                return (string) base[this.tableProjectDocument.UpdateByColumn];
            }
            set
            {
                base[this.tableProjectDocument.UpdateByColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectDocumentRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.ProjectDocumentRow eventRow;

        /*[DebuggerNonUserCode]*/
        public ProjectDocumentRowChangeEvent(IP.ProjectDocumentRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectDocumentRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void ProjectDocumentRowChangeEventHandler(object sender, IP.ProjectDocumentRowChangeEvent e);

    [Serializable, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), XmlSchemaProvider("GetTypedTableSchema")]
    public class ProjectExpensesDataTable : DataTable, IEnumerable
    {
        private DataColumn columnChargeFrom;
        private DataColumn columnCreateBy;
        private DataColumn columnDescription;
        private DataColumn columnInvoiceNumber;
        private DataColumn columnOwnerGroupID;
        private DataColumn columnProjectCode;
        private DataColumn columnReferenceDate;
        private DataColumn columnServiceCharge;
        private DataColumn columnUpdateBy;

        public event IP.ProjectExpensesRowChangeEventHandler ProjectExpensesRowChanged;

        public event IP.ProjectExpensesRowChangeEventHandler ProjectExpensesRowChanging;

        public event IP.ProjectExpensesRowChangeEventHandler ProjectExpensesRowDeleted;

        public event IP.ProjectExpensesRowChangeEventHandler ProjectExpensesRowDeleting;

        /*[DebuggerNonUserCode]*/
        public ProjectExpensesDataTable()
        {
            base.TableName = "ProjectExpenses";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal ProjectExpensesDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected ProjectExpensesDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddProjectExpensesRow(IP.ProjectExpensesRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectExpensesRow AddProjectExpensesRow(IP.ProjectNotAssignedYetRow parentProjectNotAssignedYetRowByFK_ProjectExpenses_Project, string InvoiceNumber, DateTime ReferenceDate, string ChargeFrom, string Description, decimal ServiceCharge, string CreateBy, string UpdateBy, string OwnerGroupID)
        {
            IP.ProjectExpensesRow rowProjectExpensesRow = (IP.ProjectExpensesRow) base.NewRow();
            rowProjectExpensesRow.ItemArray = new object[] { parentProjectNotAssignedYetRowByFK_ProjectExpenses_Project[0], InvoiceNumber, ReferenceDate, ChargeFrom, Description, ServiceCharge, CreateBy, UpdateBy, OwnerGroupID };
            base.Rows.Add(rowProjectExpensesRow);
            return rowProjectExpensesRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.ProjectExpensesDataTable cln = (IP.ProjectExpensesDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.ProjectExpensesDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectExpensesRow FindByProjectCodeInvoiceNumber(string ProjectCode, string InvoiceNumber)
        {
            return (IP.ProjectExpensesRow) base.Rows.Find(new object[] { ProjectCode, InvoiceNumber });
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.ProjectExpensesRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "ProjectExpensesDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnProjectCode = new DataColumn("ProjectCode", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnProjectCode);
            this.columnInvoiceNumber = new DataColumn("InvoiceNumber", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnInvoiceNumber);
            this.columnReferenceDate = new DataColumn("ReferenceDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnReferenceDate);
            this.columnChargeFrom = new DataColumn("ChargeFrom", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnChargeFrom);
            this.columnDescription = new DataColumn("Description", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnDescription);
            this.columnServiceCharge = new DataColumn("ServiceCharge", typeof(decimal), null, MappingType.Element);
            base.Columns.Add(this.columnServiceCharge);
            this.columnCreateBy = new DataColumn("CreateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCreateBy);
            this.columnUpdateBy = new DataColumn("UpdateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateBy);
            this.columnOwnerGroupID = new DataColumn("OwnerGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnOwnerGroupID);
            base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnProjectCode, this.columnInvoiceNumber }, true));
            this.columnProjectCode.AllowDBNull = false;
            this.columnProjectCode.MaxLength = 30;
            this.columnInvoiceNumber.AllowDBNull = false;
            this.columnInvoiceNumber.MaxLength = 30;
            this.columnReferenceDate.AllowDBNull = false;
            this.columnChargeFrom.AllowDBNull = false;
            this.columnChargeFrom.MaxLength = 30;
            this.columnDescription.MaxLength = 100;
            this.columnServiceCharge.AllowDBNull = false;
            this.columnCreateBy.AllowDBNull = false;
            this.columnCreateBy.MaxLength = 30;
            this.columnUpdateBy.AllowDBNull = false;
            this.columnUpdateBy.MaxLength = 30;
            this.columnOwnerGroupID.AllowDBNull = false;
            this.columnOwnerGroupID.MaxLength = 30;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnProjectCode = base.Columns["ProjectCode"];
            this.columnInvoiceNumber = base.Columns["InvoiceNumber"];
            this.columnReferenceDate = base.Columns["ReferenceDate"];
            this.columnChargeFrom = base.Columns["ChargeFrom"];
            this.columnDescription = base.Columns["Description"];
            this.columnServiceCharge = base.Columns["ServiceCharge"];
            this.columnCreateBy = base.Columns["CreateBy"];
            this.columnUpdateBy = base.Columns["UpdateBy"];
            this.columnOwnerGroupID = base.Columns["OwnerGroupID"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectExpensesRow NewProjectExpensesRow()
        {
            return (IP.ProjectExpensesRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.ProjectExpensesRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.ProjectExpensesRowChanged != null)
            {
                this.ProjectExpensesRowChanged(this, new IP.ProjectExpensesRowChangeEvent((IP.ProjectExpensesRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.ProjectExpensesRowChanging != null)
            {
                this.ProjectExpensesRowChanging(this, new IP.ProjectExpensesRowChangeEvent((IP.ProjectExpensesRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.ProjectExpensesRowDeleted != null)
            {
                this.ProjectExpensesRowDeleted(this, new IP.ProjectExpensesRowChangeEvent((IP.ProjectExpensesRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.ProjectExpensesRowDeleting != null)
            {
                this.ProjectExpensesRowDeleting(this, new IP.ProjectExpensesRowChangeEvent((IP.ProjectExpensesRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveProjectExpensesRow(IP.ProjectExpensesRow row)
        {
            base.Rows.Remove(row);
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ChargeFromColumn
        {
            get
            {
                return this.columnChargeFrom;
            }
        }

        [Browsable(false), DebuggerNonUserCode]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateByColumn
        {
            get
            {
                return this.columnCreateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DescriptionColumn
        {
            get
            {
                return this.columnDescription;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn InvoiceNumberColumn
        {
            get
            {
                return this.columnInvoiceNumber;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectExpensesRow this[int index]
        {
            get
            {
                return (IP.ProjectExpensesRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OwnerGroupIDColumn
        {
            get
            {
                return this.columnOwnerGroupID;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ProjectCodeColumn
        {
            get
            {
                return this.columnProjectCode;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ReferenceDateColumn
        {
            get
            {
                return this.columnReferenceDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ServiceChargeColumn
        {
            get
            {
                return this.columnServiceCharge;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateByColumn
        {
            get
            {
                return this.columnUpdateBy;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectExpensesRow : DataRow
    {
        private IP.ProjectExpensesDataTable tableProjectExpenses;

        /*[DebuggerNonUserCode]*/
        internal ProjectExpensesRow(DataRowBuilder rb) : base(rb)
        {
            this.tableProjectExpenses = (IP.ProjectExpensesDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDescriptionNull()
        {
            return base.IsNull(this.tableProjectExpenses.DescriptionColumn);
        }

        /*[DebuggerNonUserCode]*/
        public void SetDescriptionNull()
        {
            base[this.tableProjectExpenses.DescriptionColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public string ChargeFrom
        {
            get
            {
                return (string) base[this.tableProjectExpenses.ChargeFromColumn];
            }
            set
            {
                base[this.tableProjectExpenses.ChargeFromColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string CreateBy
        {
            get
            {
                return (string) base[this.tableProjectExpenses.CreateByColumn];
            }
            set
            {
                base[this.tableProjectExpenses.CreateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Description
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectExpenses.DescriptionColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Description' in table 'ProjectExpenses' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectExpenses.DescriptionColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string InvoiceNumber
        {
            get
            {
                return (string) base[this.tableProjectExpenses.InvoiceNumberColumn];
            }
            set
            {
                base[this.tableProjectExpenses.InvoiceNumberColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string OwnerGroupID
        {
            get
            {
                return (string) base[this.tableProjectExpenses.OwnerGroupIDColumn];
            }
            set
            {
                base[this.tableProjectExpenses.OwnerGroupIDColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ProjectCode
        {
            get
            {
                return (string) base[this.tableProjectExpenses.ProjectCodeColumn];
            }
            set
            {
                base[this.tableProjectExpenses.ProjectCodeColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectNotAssignedYetRow ProjectNotAssignedYetRow
        {
            get
            {
                return (IP.ProjectNotAssignedYetRow) base.GetParentRow(base.Table.ParentRelations["FK_ProjectExpenses_Project"]);
            }
            set
            {
                base.SetParentRow(value, base.Table.ParentRelations["FK_ProjectExpenses_Project"]);
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime ReferenceDate
        {
            get
            {
                return (DateTime) base[this.tableProjectExpenses.ReferenceDateColumn];
            }
            set
            {
                base[this.tableProjectExpenses.ReferenceDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.GetReminder2SpRow RemindersRow
        {
            get
            {
                return (IP.GetReminder2SpRow) base.GetParentRow(base.Table.ParentRelations["FK_ProjectExpenses_Project1"]);
            }
            set
            {
                base.SetParentRow(value, base.Table.ParentRelations["FK_ProjectExpenses_Project1"]);
            }
        }

        /*[DebuggerNonUserCode]*/
        public decimal ServiceCharge
        {
            get
            {
                return (decimal) base[this.tableProjectExpenses.ServiceChargeColumn];
            }
            set
            {
                base[this.tableProjectExpenses.ServiceChargeColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string UpdateBy
        {
            get
            {
                return (string) base[this.tableProjectExpenses.UpdateByColumn];
            }
            set
            {
                base[this.tableProjectExpenses.UpdateByColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectExpensesRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.ProjectExpensesRow eventRow;

        /*[DebuggerNonUserCode]*/
        public ProjectExpensesRowChangeEvent(IP.ProjectExpensesRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectExpensesRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void ProjectExpensesRowChangeEventHandler(object sender, IP.ProjectExpensesRowChangeEvent e);

    [Serializable, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), XmlSchemaProvider("GetTypedTableSchema")]
    public class ProjectGroupDataTable : DataTable, IEnumerable
    {
        private DataColumn columnApplicant;
        private DataColumn columnClient;
        private DataColumn columnCreateBy;
        private DataColumn columnCreateDate;
        private DataColumn columnDescription;
        private DataColumn columnFirstFilingDate;
        private DataColumn columnInventor;
        private DataColumn columnOfficerEmail;
        private DataColumn columnOfficerName;
        private DataColumn columnOfficerRole;
        private DataColumn columnOwnerGroupID;
        private DataColumn columnPriorityDate;
        private DataColumn columnProjectClass;
        private DataColumn columnProjectGroupID;
        private DataColumn columnTitle;
        private DataColumn columnType;
        private DataColumn columnUpdateBy;
        private DataColumn columnUpdateDate;

        public event IP.ProjectGroupRowChangeEventHandler ProjectGroupRowChanged;

        public event IP.ProjectGroupRowChangeEventHandler ProjectGroupRowChanging;

        public event IP.ProjectGroupRowChangeEventHandler ProjectGroupRowDeleted;

        public event IP.ProjectGroupRowChangeEventHandler ProjectGroupRowDeleting;

        /*[DebuggerNonUserCode]*/
        public ProjectGroupDataTable()
        {
            base.TableName = "ProjectGroup";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal ProjectGroupDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected ProjectGroupDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddProjectGroupRow(IP.ProjectGroupRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectGroupRow AddProjectGroupRow(string ProjectGroupID, string Description, string OfficerName, string OfficerRole, string Title, string OfficerEmail, string CreateBy, DateTime CreateDate, string UpdateBy, DateTime UpdateDate, string OwnerGroupID, DateTime FirstFilingDate, DateTime PriorityDate, string ProjectClass, string Applicant, string Inventor, string Type, string Client)
        {
            IP.ProjectGroupRow rowProjectGroupRow = (IP.ProjectGroupRow) base.NewRow();
            rowProjectGroupRow.ItemArray = new object[] { 
                ProjectGroupID, Description, OfficerName, OfficerRole, Title, OfficerEmail, CreateBy, CreateDate, UpdateBy, UpdateDate, OwnerGroupID, FirstFilingDate, PriorityDate, ProjectClass, Applicant, Inventor, 
                Type, Client
             };
            base.Rows.Add(rowProjectGroupRow);
            return rowProjectGroupRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.ProjectGroupDataTable cln = (IP.ProjectGroupDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.ProjectGroupDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectGroupRow FindByProjectGroupID(string ProjectGroupID)
        {
            return (IP.ProjectGroupRow) base.Rows.Find(new object[] { ProjectGroupID });
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.ProjectGroupRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "ProjectGroupDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnProjectGroupID = new DataColumn("ProjectGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnProjectGroupID);
            this.columnDescription = new DataColumn("Description", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnDescription);
            this.columnOfficerName = new DataColumn("OfficerName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnOfficerName);
            this.columnOfficerRole = new DataColumn("OfficerRole", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnOfficerRole);
            this.columnTitle = new DataColumn("Title", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnTitle);
            this.columnOfficerEmail = new DataColumn("OfficerEmail", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnOfficerEmail);
            this.columnCreateBy = new DataColumn("CreateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCreateBy);
            this.columnCreateDate = new DataColumn("CreateDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnCreateDate);
            this.columnUpdateBy = new DataColumn("UpdateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateBy);
            this.columnUpdateDate = new DataColumn("UpdateDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateDate);
            this.columnOwnerGroupID = new DataColumn("OwnerGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnOwnerGroupID);
            this.columnFirstFilingDate = new DataColumn("FirstFilingDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnFirstFilingDate);
            this.columnPriorityDate = new DataColumn("PriorityDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnPriorityDate);
            this.columnProjectClass = new DataColumn("ProjectClass", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnProjectClass);
            this.columnApplicant = new DataColumn("Applicant", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnApplicant);
            this.columnInventor = new DataColumn("Inventor", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnInventor);
            this.columnType = new DataColumn("Type", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnType);
            this.columnClient = new DataColumn("Client", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClient);
            base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnProjectGroupID }, true));
            this.columnProjectGroupID.AllowDBNull = false;
            this.columnProjectGroupID.Unique = true;
            this.columnProjectGroupID.MaxLength = 30;
            this.columnDescription.MaxLength = 100;
            this.columnOfficerName.AllowDBNull = false;
            this.columnOfficerName.MaxLength = 30;
            this.columnOfficerRole.MaxLength = 30;
            this.columnTitle.MaxLength = 60;
            this.columnOfficerEmail.MaxLength = 30;
            this.columnCreateBy.AllowDBNull = false;
            this.columnCreateBy.MaxLength = 30;
            this.columnCreateDate.AllowDBNull = false;
            this.columnUpdateBy.AllowDBNull = false;
            this.columnUpdateBy.MaxLength = 30;
            this.columnUpdateDate.AllowDBNull = false;
            this.columnOwnerGroupID.AllowDBNull = false;
            this.columnOwnerGroupID.MaxLength = 30;
            this.columnProjectClass.MaxLength = 30;
            this.columnApplicant.MaxLength = 30;
            this.columnInventor.MaxLength = 30;
            this.columnType.MaxLength = 30;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnProjectGroupID = base.Columns["ProjectGroupID"];
            this.columnDescription = base.Columns["Description"];
            this.columnOfficerName = base.Columns["OfficerName"];
            this.columnOfficerRole = base.Columns["OfficerRole"];
            this.columnTitle = base.Columns["Title"];
            this.columnOfficerEmail = base.Columns["OfficerEmail"];
            this.columnCreateBy = base.Columns["CreateBy"];
            this.columnCreateDate = base.Columns["CreateDate"];
            this.columnUpdateBy = base.Columns["UpdateBy"];
            this.columnUpdateDate = base.Columns["UpdateDate"];
            this.columnOwnerGroupID = base.Columns["OwnerGroupID"];
            this.columnFirstFilingDate = base.Columns["FirstFilingDate"];
            this.columnPriorityDate = base.Columns["PriorityDate"];
            this.columnProjectClass = base.Columns["ProjectClass"];
            this.columnApplicant = base.Columns["Applicant"];
            this.columnInventor = base.Columns["Inventor"];
            this.columnType = base.Columns["Type"];
            this.columnClient = base.Columns["Client"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectGroupRow NewProjectGroupRow()
        {
            return (IP.ProjectGroupRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.ProjectGroupRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.ProjectGroupRowChanged != null)
            {
                this.ProjectGroupRowChanged(this, new IP.ProjectGroupRowChangeEvent((IP.ProjectGroupRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.ProjectGroupRowChanging != null)
            {
                this.ProjectGroupRowChanging(this, new IP.ProjectGroupRowChangeEvent((IP.ProjectGroupRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.ProjectGroupRowDeleted != null)
            {
                this.ProjectGroupRowDeleted(this, new IP.ProjectGroupRowChangeEvent((IP.ProjectGroupRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.ProjectGroupRowDeleting != null)
            {
                this.ProjectGroupRowDeleting(this, new IP.ProjectGroupRowChangeEvent((IP.ProjectGroupRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveProjectGroupRow(IP.ProjectGroupRow row)
        {
            base.Rows.Remove(row);
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ApplicantColumn
        {
            get
            {
                return this.columnApplicant;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientColumn
        {
            get
            {
                return this.columnClient;
            }
        }

        [Browsable(false), DebuggerNonUserCode]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateByColumn
        {
            get
            {
                return this.columnCreateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateDateColumn
        {
            get
            {
                return this.columnCreateDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DescriptionColumn
        {
            get
            {
                return this.columnDescription;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn FirstFilingDateColumn
        {
            get
            {
                return this.columnFirstFilingDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn InventorColumn
        {
            get
            {
                return this.columnInventor;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectGroupRow this[int index]
        {
            get
            {
                return (IP.ProjectGroupRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OfficerEmailColumn
        {
            get
            {
                return this.columnOfficerEmail;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OfficerNameColumn
        {
            get
            {
                return this.columnOfficerName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OfficerRoleColumn
        {
            get
            {
                return this.columnOfficerRole;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OwnerGroupIDColumn
        {
            get
            {
                return this.columnOwnerGroupID;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn PriorityDateColumn
        {
            get
            {
                return this.columnPriorityDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ProjectClassColumn
        {
            get
            {
                return this.columnProjectClass;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ProjectGroupIDColumn
        {
            get
            {
                return this.columnProjectGroupID;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn TitleColumn
        {
            get
            {
                return this.columnTitle;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn TypeColumn
        {
            get
            {
                return this.columnType;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateByColumn
        {
            get
            {
                return this.columnUpdateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateDateColumn
        {
            get
            {
                return this.columnUpdateDate;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectGroupRow : DataRow
    {
        private IP.ProjectGroupDataTable tableProjectGroup;

        /*[DebuggerNonUserCode]*/
        internal ProjectGroupRow(DataRowBuilder rb) : base(rb)
        {
            this.tableProjectGroup = (IP.ProjectGroupDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProductRow[] GetProductRows()
        {
            return (IP.ProductRow[]) base.GetChildRows(base.Table.ChildRelations["FK_Product_ProjectGroup"]);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsApplicantNull()
        {
            return base.IsNull(this.tableProjectGroup.ApplicantColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientNull()
        {
            return base.IsNull(this.tableProjectGroup.ClientColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDescriptionNull()
        {
            return base.IsNull(this.tableProjectGroup.DescriptionColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsFirstFilingDateNull()
        {
            return base.IsNull(this.tableProjectGroup.FirstFilingDateColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsInventorNull()
        {
            return base.IsNull(this.tableProjectGroup.InventorColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsOfficerEmailNull()
        {
            return base.IsNull(this.tableProjectGroup.OfficerEmailColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsOfficerRoleNull()
        {
            return base.IsNull(this.tableProjectGroup.OfficerRoleColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsPriorityDateNull()
        {
            return base.IsNull(this.tableProjectGroup.PriorityDateColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsProjectClassNull()
        {
            return base.IsNull(this.tableProjectGroup.ProjectClassColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsTitleNull()
        {
            return base.IsNull(this.tableProjectGroup.TitleColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsTypeNull()
        {
            return base.IsNull(this.tableProjectGroup.TypeColumn);
        }

        /*[DebuggerNonUserCode]*/
        public void SetApplicantNull()
        {
            base[this.tableProjectGroup.ApplicantColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientNull()
        {
            base[this.tableProjectGroup.ClientColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetDescriptionNull()
        {
            base[this.tableProjectGroup.DescriptionColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetFirstFilingDateNull()
        {
            base[this.tableProjectGroup.FirstFilingDateColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetInventorNull()
        {
            base[this.tableProjectGroup.InventorColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetOfficerEmailNull()
        {
            base[this.tableProjectGroup.OfficerEmailColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetOfficerRoleNull()
        {
            base[this.tableProjectGroup.OfficerRoleColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetPriorityDateNull()
        {
            base[this.tableProjectGroup.PriorityDateColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetProjectClassNull()
        {
            base[this.tableProjectGroup.ProjectClassColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetTitleNull()
        {
            base[this.tableProjectGroup.TitleColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetTypeNull()
        {
            base[this.tableProjectGroup.TypeColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public string Applicant
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectGroup.ApplicantColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Applicant' in table 'ProjectGroup' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectGroup.ApplicantColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Client
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectGroup.ClientColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Client' in table 'ProjectGroup' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectGroup.ClientColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string CreateBy
        {
            get
            {
                return (string) base[this.tableProjectGroup.CreateByColumn];
            }
            set
            {
                base[this.tableProjectGroup.CreateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime CreateDate
        {
            get
            {
                return (DateTime) base[this.tableProjectGroup.CreateDateColumn];
            }
            set
            {
                base[this.tableProjectGroup.CreateDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Description
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectGroup.DescriptionColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Description' in table 'ProjectGroup' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectGroup.DescriptionColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime FirstFilingDate
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableProjectGroup.FirstFilingDateColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'FirstFilingDate' in table 'ProjectGroup' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectGroup.FirstFilingDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Inventor
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectGroup.InventorColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Inventor' in table 'ProjectGroup' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectGroup.InventorColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string OfficerEmail
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectGroup.OfficerEmailColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'OfficerEmail' in table 'ProjectGroup' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectGroup.OfficerEmailColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string OfficerName
        {
            get
            {
                return (string) base[this.tableProjectGroup.OfficerNameColumn];
            }
            set
            {
                base[this.tableProjectGroup.OfficerNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string OfficerRole
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectGroup.OfficerRoleColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'OfficerRole' in table 'ProjectGroup' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectGroup.OfficerRoleColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string OwnerGroupID
        {
            get
            {
                return (string) base[this.tableProjectGroup.OwnerGroupIDColumn];
            }
            set
            {
                base[this.tableProjectGroup.OwnerGroupIDColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime PriorityDate
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableProjectGroup.PriorityDateColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'PriorityDate' in table 'ProjectGroup' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectGroup.PriorityDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ProjectClass
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectGroup.ProjectClassColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ProjectClass' in table 'ProjectGroup' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectGroup.ProjectClassColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ProjectGroupID
        {
            get
            {
                return (string) base[this.tableProjectGroup.ProjectGroupIDColumn];
            }
            set
            {
                base[this.tableProjectGroup.ProjectGroupIDColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Title
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectGroup.TitleColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Title' in table 'ProjectGroup' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectGroup.TitleColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Type
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectGroup.TypeColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Type' in table 'ProjectGroup' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectGroup.TypeColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string UpdateBy
        {
            get
            {
                return (string) base[this.tableProjectGroup.UpdateByColumn];
            }
            set
            {
                base[this.tableProjectGroup.UpdateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime UpdateDate
        {
            get
            {
                return (DateTime) base[this.tableProjectGroup.UpdateDateColumn];
            }
            set
            {
                base[this.tableProjectGroup.UpdateDateColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectGroupRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.ProjectGroupRow eventRow;

        /*[DebuggerNonUserCode]*/
        public ProjectGroupRowChangeEvent(IP.ProjectGroupRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectGroupRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void ProjectGroupRowChangeEventHandler(object sender, IP.ProjectGroupRowChangeEvent e);

    [Serializable, XmlSchemaProvider("GetTypedTableSchema"), GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectHeadingDataTable : DataTable, IEnumerable
    {
        private DataColumn columnACMEDueDate;
        private DataColumn columnAction;
        private DataColumn columnAgentDueDate;
        private DataColumn columnCompletionDate;
        private DataColumn columnCreateBy;
        private DataColumn columnDateFld1;
        private DataColumn columnDateFld2;
        private DataColumn columnDateFld3;
        private DataColumn columnDateFld4;
        private DataColumn columnDateFld5;
        private DataColumn columnDeciFld1;
        private DataColumn columnDeciFld2;
        private DataColumn columnDocumentNumber;
        private DataColumn columnFromTemplateYN;
        private DataColumn columnHeadingCode;
        private DataColumn columnHeadingName;
        private DataColumn columnIsLastProgress;
        private DataColumn columnOverdue;
        private DataColumn columnOwnerGroupID;
        private DataColumn columnProjectCode;
        private DataColumn columnRemark;
        private DataColumn columnRemark1;
        private DataColumn columnRemark2;
        private DataColumn columnRemark3;
        private DataColumn columnRemark4;
        private DataColumn columnRemark5;
        private DataColumn columnResponsibleBy;
        private DataColumn columnRowPointer;
        private DataColumn columnSection;
        private DataColumn columnSequence;
        private DataColumn columnStatus;
        private DataColumn columnUpdateBy;

        public event IP.ProjectHeadingRowChangeEventHandler ProjectHeadingRowChanged;

        public event IP.ProjectHeadingRowChangeEventHandler ProjectHeadingRowChanging;

        public event IP.ProjectHeadingRowChangeEventHandler ProjectHeadingRowDeleted;

        public event IP.ProjectHeadingRowChangeEventHandler ProjectHeadingRowDeleting;

        /*[DebuggerNonUserCode]*/
        public ProjectHeadingDataTable()
        {
            base.TableName = "ProjectHeading";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal ProjectHeadingDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected ProjectHeadingDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddProjectHeadingRow(IP.ProjectHeadingRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectHeadingRow AddProjectHeadingRow(string ProjectCode, string HeadingCode, string HeadingName, int Section, bool Action, string DocumentNumber, string Status, string Remark, DateTime ACMEDueDate, DateTime AgentDueDate, DateTime CompletionDate, string ResponsibleBy, string Remark1, string Remark2, string Remark3, string Remark4, string Remark5, DateTime DateFld1, DateTime DateFld2, DateTime DateFld3, DateTime DateFld4, DateTime DateFld5, decimal DeciFld1, decimal DeciFld2, string CreateBy, string UpdateBy, string OwnerGroupID, bool FromTemplateYN, bool IsLastProgress, int Sequence, Guid RowPointer, byte Overdue)
        {
            IP.ProjectHeadingRow rowProjectHeadingRow = (IP.ProjectHeadingRow) base.NewRow();
            rowProjectHeadingRow.ItemArray = new object[] { 
                ProjectCode, HeadingCode, HeadingName, Section, Action, DocumentNumber, Status, Remark, ACMEDueDate, AgentDueDate, CompletionDate, ResponsibleBy, Remark1, Remark2, Remark3, Remark4, 
                Remark5, DateFld1, DateFld2, DateFld3, DateFld4, DateFld5, DeciFld1, DeciFld2, CreateBy, UpdateBy, OwnerGroupID, FromTemplateYN, IsLastProgress, Sequence, RowPointer, Overdue
             };
            base.Rows.Add(rowProjectHeadingRow);
            return rowProjectHeadingRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.ProjectHeadingDataTable cln = (IP.ProjectHeadingDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.ProjectHeadingDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectHeadingRow FindByRowPointer(Guid RowPointer)
        {
            return (IP.ProjectHeadingRow) base.Rows.Find(new object[] { RowPointer });
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.ProjectHeadingRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "ProjectHeadingDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnProjectCode = new DataColumn("ProjectCode", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnProjectCode);
            this.columnHeadingCode = new DataColumn("HeadingCode", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnHeadingCode);
            this.columnHeadingName = new DataColumn("HeadingName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnHeadingName);
            this.columnSection = new DataColumn("Section", typeof(int), null, MappingType.Element);
            base.Columns.Add(this.columnSection);
            this.columnAction = new DataColumn("Action", typeof(bool), null, MappingType.Element);
            base.Columns.Add(this.columnAction);
            this.columnDocumentNumber = new DataColumn("DocumentNumber", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnDocumentNumber);
            this.columnStatus = new DataColumn("Status", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnStatus);
            this.columnRemark = new DataColumn("Remark", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnRemark);
            this.columnACMEDueDate = new DataColumn("ACMEDueDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnACMEDueDate);
            this.columnAgentDueDate = new DataColumn("AgentDueDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnAgentDueDate);
            this.columnCompletionDate = new DataColumn("CompletionDate", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnCompletionDate);
            this.columnResponsibleBy = new DataColumn("ResponsibleBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnResponsibleBy);
            this.columnRemark1 = new DataColumn("Remark1", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnRemark1);
            this.columnRemark2 = new DataColumn("Remark2", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnRemark2);
            this.columnRemark3 = new DataColumn("Remark3", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnRemark3);
            this.columnRemark4 = new DataColumn("Remark4", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnRemark4);
            this.columnRemark5 = new DataColumn("Remark5", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnRemark5);
            this.columnDateFld1 = new DataColumn("DateFld1", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnDateFld1);
            this.columnDateFld2 = new DataColumn("DateFld2", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnDateFld2);
            this.columnDateFld3 = new DataColumn("DateFld3", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnDateFld3);
            this.columnDateFld4 = new DataColumn("DateFld4", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnDateFld4);
            this.columnDateFld5 = new DataColumn("DateFld5", typeof(DateTime), null, MappingType.Element);
            base.Columns.Add(this.columnDateFld5);
            this.columnDeciFld1 = new DataColumn("DeciFld1", typeof(decimal), null, MappingType.Element);
            base.Columns.Add(this.columnDeciFld1);
            this.columnDeciFld2 = new DataColumn("DeciFld2", typeof(decimal), null, MappingType.Element);
            base.Columns.Add(this.columnDeciFld2);
            this.columnCreateBy = new DataColumn("CreateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCreateBy);
            this.columnUpdateBy = new DataColumn("UpdateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateBy);
            this.columnOwnerGroupID = new DataColumn("OwnerGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnOwnerGroupID);
            this.columnFromTemplateYN = new DataColumn("FromTemplateYN", typeof(bool), null, MappingType.Element);
            base.Columns.Add(this.columnFromTemplateYN);
            this.columnIsLastProgress = new DataColumn("IsLastProgress", typeof(bool), null, MappingType.Element);
            base.Columns.Add(this.columnIsLastProgress);
            this.columnSequence = new DataColumn("Sequence", typeof(int), null, MappingType.Element);
            base.Columns.Add(this.columnSequence);
            this.columnRowPointer = new DataColumn("RowPointer", typeof(Guid), null, MappingType.Element);
            base.Columns.Add(this.columnRowPointer);
            this.columnOverdue = new DataColumn("Overdue", typeof(byte), null, MappingType.Element);
            base.Columns.Add(this.columnOverdue);
            base.Constraints.Add(new UniqueConstraint("Constraint2", new DataColumn[] { this.columnRowPointer }, true));
            this.columnProjectCode.AllowDBNull = false;
            this.columnProjectCode.MaxLength = 30;
            this.columnHeadingCode.AllowDBNull = false;
            this.columnHeadingCode.MaxLength = 30;
            this.columnHeadingName.MaxLength = 100;
            this.columnDocumentNumber.MaxLength = 30;
            this.columnStatus.AllowDBNull = false;
            this.columnStatus.MaxLength = 30;
            this.columnRemark.MaxLength = 100;
            this.columnResponsibleBy.MaxLength = 30;
            this.columnRemark1.MaxLength = 100;
            this.columnRemark2.MaxLength = 100;
            this.columnRemark3.MaxLength = 100;
            this.columnRemark4.MaxLength = 100;
            this.columnRemark5.MaxLength = 100;
            this.columnCreateBy.AllowDBNull = false;
            this.columnCreateBy.MaxLength = 30;
            this.columnUpdateBy.AllowDBNull = false;
            this.columnUpdateBy.MaxLength = 30;
            this.columnOwnerGroupID.AllowDBNull = false;
            this.columnOwnerGroupID.MaxLength = 30;
            this.columnRowPointer.AllowDBNull = false;
            this.columnRowPointer.Unique = true;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnProjectCode = base.Columns["ProjectCode"];
            this.columnHeadingCode = base.Columns["HeadingCode"];
            this.columnHeadingName = base.Columns["HeadingName"];
            this.columnSection = base.Columns["Section"];
            this.columnAction = base.Columns["Action"];
            this.columnDocumentNumber = base.Columns["DocumentNumber"];
            this.columnStatus = base.Columns["Status"];
            this.columnRemark = base.Columns["Remark"];
            this.columnACMEDueDate = base.Columns["ACMEDueDate"];
            this.columnAgentDueDate = base.Columns["AgentDueDate"];
            this.columnCompletionDate = base.Columns["CompletionDate"];
            this.columnResponsibleBy = base.Columns["ResponsibleBy"];
            this.columnRemark1 = base.Columns["Remark1"];
            this.columnRemark2 = base.Columns["Remark2"];
            this.columnRemark3 = base.Columns["Remark3"];
            this.columnRemark4 = base.Columns["Remark4"];
            this.columnRemark5 = base.Columns["Remark5"];
            this.columnDateFld1 = base.Columns["DateFld1"];
            this.columnDateFld2 = base.Columns["DateFld2"];
            this.columnDateFld3 = base.Columns["DateFld3"];
            this.columnDateFld4 = base.Columns["DateFld4"];
            this.columnDateFld5 = base.Columns["DateFld5"];
            this.columnDeciFld1 = base.Columns["DeciFld1"];
            this.columnDeciFld2 = base.Columns["DeciFld2"];
            this.columnCreateBy = base.Columns["CreateBy"];
            this.columnUpdateBy = base.Columns["UpdateBy"];
            this.columnOwnerGroupID = base.Columns["OwnerGroupID"];
            this.columnFromTemplateYN = base.Columns["FromTemplateYN"];
            this.columnIsLastProgress = base.Columns["IsLastProgress"];
            this.columnSequence = base.Columns["Sequence"];
            this.columnRowPointer = base.Columns["RowPointer"];
            this.columnOverdue = base.Columns["Overdue"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectHeadingRow NewProjectHeadingRow()
        {
            return (IP.ProjectHeadingRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.ProjectHeadingRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.ProjectHeadingRowChanged != null)
            {
                this.ProjectHeadingRowChanged(this, new IP.ProjectHeadingRowChangeEvent((IP.ProjectHeadingRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.ProjectHeadingRowChanging != null)
            {
                this.ProjectHeadingRowChanging(this, new IP.ProjectHeadingRowChangeEvent((IP.ProjectHeadingRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.ProjectHeadingRowDeleted != null)
            {
                this.ProjectHeadingRowDeleted(this, new IP.ProjectHeadingRowChangeEvent((IP.ProjectHeadingRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.ProjectHeadingRowDeleting != null)
            {
                this.ProjectHeadingRowDeleting(this, new IP.ProjectHeadingRowChangeEvent((IP.ProjectHeadingRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveProjectHeadingRow(IP.ProjectHeadingRow row)
        {
            base.Rows.Remove(row);
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ACMEDueDateColumn
        {
            get
            {
                return this.columnACMEDueDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ActionColumn
        {
            get
            {
                return this.columnAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentDueDateColumn
        {
            get
            {
                return this.columnAgentDueDate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CompletionDateColumn
        {
            get
            {
                return this.columnCompletionDate;
            }
        }

        [DebuggerNonUserCode, Browsable(false)]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateByColumn
        {
            get
            {
                return this.columnCreateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DateFld1Column
        {
            get
            {
                return this.columnDateFld1;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DateFld2Column
        {
            get
            {
                return this.columnDateFld2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DateFld3Column
        {
            get
            {
                return this.columnDateFld3;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DateFld4Column
        {
            get
            {
                return this.columnDateFld4;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DateFld5Column
        {
            get
            {
                return this.columnDateFld5;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DeciFld1Column
        {
            get
            {
                return this.columnDeciFld1;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DeciFld2Column
        {
            get
            {
                return this.columnDeciFld2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DocumentNumberColumn
        {
            get
            {
                return this.columnDocumentNumber;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn FromTemplateYNColumn
        {
            get
            {
                return this.columnFromTemplateYN;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn HeadingCodeColumn
        {
            get
            {
                return this.columnHeadingCode;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn HeadingNameColumn
        {
            get
            {
                return this.columnHeadingName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn IsLastProgressColumn
        {
            get
            {
                return this.columnIsLastProgress;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectHeadingRow this[int index]
        {
            get
            {
                return (IP.ProjectHeadingRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OverdueColumn
        {
            get
            {
                return this.columnOverdue;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OwnerGroupIDColumn
        {
            get
            {
                return this.columnOwnerGroupID;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ProjectCodeColumn
        {
            get
            {
                return this.columnProjectCode;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn Remark1Column
        {
            get
            {
                return this.columnRemark1;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn Remark2Column
        {
            get
            {
                return this.columnRemark2;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn Remark3Column
        {
            get
            {
                return this.columnRemark3;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn Remark4Column
        {
            get
            {
                return this.columnRemark4;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn Remark5Column
        {
            get
            {
                return this.columnRemark5;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn RemarkColumn
        {
            get
            {
                return this.columnRemark;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ResponsibleByColumn
        {
            get
            {
                return this.columnResponsibleBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn RowPointerColumn
        {
            get
            {
                return this.columnRowPointer;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn SectionColumn
        {
            get
            {
                return this.columnSection;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn SequenceColumn
        {
            get
            {
                return this.columnSequence;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn StatusColumn
        {
            get
            {
                return this.columnStatus;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateByColumn
        {
            get
            {
                return this.columnUpdateBy;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectHeadingRow : DataRow
    {
        private IP.ProjectHeadingDataTable tableProjectHeading;

        /*[DebuggerNonUserCode]*/
        internal ProjectHeadingRow(DataRowBuilder rb) : base(rb)
        {
            this.tableProjectHeading = (IP.ProjectHeadingDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public bool IsACMEDueDateNull()
        {
            return base.IsNull(this.tableProjectHeading.ACMEDueDateColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsActionNull()
        {
            return base.IsNull(this.tableProjectHeading.ActionColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentDueDateNull()
        {
            return base.IsNull(this.tableProjectHeading.AgentDueDateColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsCompletionDateNull()
        {
            return base.IsNull(this.tableProjectHeading.CompletionDateColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDateFld1Null()
        {
            return base.IsNull(this.tableProjectHeading.DateFld1Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDateFld2Null()
        {
            return base.IsNull(this.tableProjectHeading.DateFld2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDateFld3Null()
        {
            return base.IsNull(this.tableProjectHeading.DateFld3Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDateFld4Null()
        {
            return base.IsNull(this.tableProjectHeading.DateFld4Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDateFld5Null()
        {
            return base.IsNull(this.tableProjectHeading.DateFld5Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDeciFld1Null()
        {
            return base.IsNull(this.tableProjectHeading.DeciFld1Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDeciFld2Null()
        {
            return base.IsNull(this.tableProjectHeading.DeciFld2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDocumentNumberNull()
        {
            return base.IsNull(this.tableProjectHeading.DocumentNumberColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsFromTemplateYNNull()
        {
            return base.IsNull(this.tableProjectHeading.FromTemplateYNColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsHeadingNameNull()
        {
            return base.IsNull(this.tableProjectHeading.HeadingNameColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsIsLastProgressNull()
        {
            return base.IsNull(this.tableProjectHeading.IsLastProgressColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsOverdueNull()
        {
            return base.IsNull(this.tableProjectHeading.OverdueColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsRemark1Null()
        {
            return base.IsNull(this.tableProjectHeading.Remark1Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsRemark2Null()
        {
            return base.IsNull(this.tableProjectHeading.Remark2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsRemark3Null()
        {
            return base.IsNull(this.tableProjectHeading.Remark3Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsRemark4Null()
        {
            return base.IsNull(this.tableProjectHeading.Remark4Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsRemark5Null()
        {
            return base.IsNull(this.tableProjectHeading.Remark5Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsRemarkNull()
        {
            return base.IsNull(this.tableProjectHeading.RemarkColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsResponsibleByNull()
        {
            return base.IsNull(this.tableProjectHeading.ResponsibleByColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsSectionNull()
        {
            return base.IsNull(this.tableProjectHeading.SectionColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsSequenceNull()
        {
            return base.IsNull(this.tableProjectHeading.SequenceColumn);
        }

        /*[DebuggerNonUserCode]*/
        public void SetACMEDueDateNull()
        {
            base[this.tableProjectHeading.ACMEDueDateColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetActionNull()
        {
            base[this.tableProjectHeading.ActionColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentDueDateNull()
        {
            base[this.tableProjectHeading.AgentDueDateColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetCompletionDateNull()
        {
            base[this.tableProjectHeading.CompletionDateColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetDateFld1Null()
        {
            base[this.tableProjectHeading.DateFld1Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetDateFld2Null()
        {
            base[this.tableProjectHeading.DateFld2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetDateFld3Null()
        {
            base[this.tableProjectHeading.DateFld3Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetDateFld4Null()
        {
            base[this.tableProjectHeading.DateFld4Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetDateFld5Null()
        {
            base[this.tableProjectHeading.DateFld5Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetDeciFld1Null()
        {
            base[this.tableProjectHeading.DeciFld1Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetDeciFld2Null()
        {
            base[this.tableProjectHeading.DeciFld2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetDocumentNumberNull()
        {
            base[this.tableProjectHeading.DocumentNumberColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetFromTemplateYNNull()
        {
            base[this.tableProjectHeading.FromTemplateYNColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetHeadingNameNull()
        {
            base[this.tableProjectHeading.HeadingNameColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetIsLastProgressNull()
        {
            base[this.tableProjectHeading.IsLastProgressColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetOverdueNull()
        {
            base[this.tableProjectHeading.OverdueColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetRemark1Null()
        {
            base[this.tableProjectHeading.Remark1Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetRemark2Null()
        {
            base[this.tableProjectHeading.Remark2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetRemark3Null()
        {
            base[this.tableProjectHeading.Remark3Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetRemark4Null()
        {
            base[this.tableProjectHeading.Remark4Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetRemark5Null()
        {
            base[this.tableProjectHeading.Remark5Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetRemarkNull()
        {
            base[this.tableProjectHeading.RemarkColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetResponsibleByNull()
        {
            base[this.tableProjectHeading.ResponsibleByColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetSectionNull()
        {
            base[this.tableProjectHeading.SectionColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetSequenceNull()
        {
            base[this.tableProjectHeading.SequenceColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public DateTime ACMEDueDate
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableProjectHeading.ACMEDueDateColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ACMEDueDate' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.ACMEDueDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public bool Action
        {
            get
            {
                bool ret;
                try
                {
                    ret = (bool) base[this.tableProjectHeading.ActionColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Action' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.ActionColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime AgentDueDate
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableProjectHeading.AgentDueDateColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentDueDate' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.AgentDueDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime CompletionDate
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableProjectHeading.CompletionDateColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'CompletionDate' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.CompletionDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string CreateBy
        {
            get
            {
                return (string) base[this.tableProjectHeading.CreateByColumn];
            }
            set
            {
                base[this.tableProjectHeading.CreateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime DateFld1
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableProjectHeading.DateFld1Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'DateFld1' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.DateFld1Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime DateFld2
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableProjectHeading.DateFld2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'DateFld2' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.DateFld2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime DateFld3
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableProjectHeading.DateFld3Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'DateFld3' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.DateFld3Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime DateFld4
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableProjectHeading.DateFld4Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'DateFld4' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.DateFld4Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime DateFld5
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableProjectHeading.DateFld5Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'DateFld5' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.DateFld5Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public decimal DeciFld1
        {
            get
            {
                decimal ret;
                try
                {
                    ret = (decimal) base[this.tableProjectHeading.DeciFld1Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'DeciFld1' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.DeciFld1Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public decimal DeciFld2
        {
            get
            {
                decimal ret;
                try
                {
                    ret = (decimal) base[this.tableProjectHeading.DeciFld2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'DeciFld2' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.DeciFld2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string DocumentNumber
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectHeading.DocumentNumberColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'DocumentNumber' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.DocumentNumberColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public bool FromTemplateYN
        {
            get
            {
                bool ret;
                try
                {
                    ret = (bool) base[this.tableProjectHeading.FromTemplateYNColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'FromTemplateYN' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.FromTemplateYNColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string HeadingCode
        {
            get
            {
                return (string) base[this.tableProjectHeading.HeadingCodeColumn];
            }
            set
            {
                base[this.tableProjectHeading.HeadingCodeColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string HeadingName
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectHeading.HeadingNameColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'HeadingName' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.HeadingNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public bool IsLastProgress
        {
            get
            {
                bool ret;
                try
                {
                    ret = (bool) base[this.tableProjectHeading.IsLastProgressColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'IsLastProgress' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.IsLastProgressColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public byte Overdue
        {
            get
            {
                byte ret;
                try
                {
                    ret = (byte) base[this.tableProjectHeading.OverdueColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Overdue' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.OverdueColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string OwnerGroupID
        {
            get
            {
                return (string) base[this.tableProjectHeading.OwnerGroupIDColumn];
            }
            set
            {
                base[this.tableProjectHeading.OwnerGroupIDColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ProjectCode
        {
            get
            {
                return (string) base[this.tableProjectHeading.ProjectCodeColumn];
            }
            set
            {
                base[this.tableProjectHeading.ProjectCodeColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Remark
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectHeading.RemarkColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Remark' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.RemarkColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Remark1
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectHeading.Remark1Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Remark1' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.Remark1Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Remark2
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectHeading.Remark2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Remark2' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.Remark2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Remark3
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectHeading.Remark3Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Remark3' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.Remark3Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Remark4
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectHeading.Remark4Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Remark4' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.Remark4Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Remark5
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectHeading.Remark5Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Remark5' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.Remark5Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ResponsibleBy
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectHeading.ResponsibleByColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ResponsibleBy' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.ResponsibleByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public Guid RowPointer
        {
            get
            {
                return (Guid) base[this.tableProjectHeading.RowPointerColumn];
            }
            set
            {
                base[this.tableProjectHeading.RowPointerColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public int Section
        {
            get
            {
                int ret;
                try
                {
                    ret = (int) base[this.tableProjectHeading.SectionColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Section' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.SectionColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public int Sequence
        {
            get
            {
                int ret;
                try
                {
                    ret = (int) base[this.tableProjectHeading.SequenceColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Sequence' in table 'ProjectHeading' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectHeading.SequenceColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Status
        {
            get
            {
                return (string) base[this.tableProjectHeading.StatusColumn];
            }
            set
            {
                base[this.tableProjectHeading.StatusColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string UpdateBy
        {
            get
            {
                return (string) base[this.tableProjectHeading.UpdateByColumn];
            }
            set
            {
                base[this.tableProjectHeading.UpdateByColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectHeadingRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.ProjectHeadingRow eventRow;

        /*[DebuggerNonUserCode]*/
        public ProjectHeadingRowChangeEvent(IP.ProjectHeadingRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectHeadingRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void ProjectHeadingRowChangeEventHandler(object sender, IP.ProjectHeadingRowChangeEvent e);

    [Serializable, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), XmlSchemaProvider("GetTypedTableSchema")]
    public class ProjectNotAssignedYetDataTable : DataTable, IEnumerable
    {
        private DataColumn columnCountry;
        private DataColumn columnProjectCode;
        private DataColumn columnStatus;
        private DataColumn columnTitle;

        public event IP.ProjectNotAssignedYetRowChangeEventHandler ProjectNotAssignedYetRowChanged;

        public event IP.ProjectNotAssignedYetRowChangeEventHandler ProjectNotAssignedYetRowChanging;

        public event IP.ProjectNotAssignedYetRowChangeEventHandler ProjectNotAssignedYetRowDeleted;

        public event IP.ProjectNotAssignedYetRowChangeEventHandler ProjectNotAssignedYetRowDeleting;

        /*[DebuggerNonUserCode]*/
        public ProjectNotAssignedYetDataTable()
        {
            base.TableName = "ProjectNotAssignedYet";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal ProjectNotAssignedYetDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected ProjectNotAssignedYetDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddProjectNotAssignedYetRow(IP.ProjectNotAssignedYetRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectNotAssignedYetRow AddProjectNotAssignedYetRow(string ProjectCode, string Country, string Title, string Status)
        {
            IP.ProjectNotAssignedYetRow rowProjectNotAssignedYetRow = (IP.ProjectNotAssignedYetRow) base.NewRow();
            rowProjectNotAssignedYetRow.ItemArray = new object[] { ProjectCode, Country, Title, Status };
            base.Rows.Add(rowProjectNotAssignedYetRow);
            return rowProjectNotAssignedYetRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.ProjectNotAssignedYetDataTable cln = (IP.ProjectNotAssignedYetDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.ProjectNotAssignedYetDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.ProjectNotAssignedYetRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "ProjectNotAssignedYetDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnProjectCode = new DataColumn("ProjectCode", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnProjectCode);
            this.columnCountry = new DataColumn("Country", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCountry);
            this.columnTitle = new DataColumn("Title", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnTitle);
            this.columnStatus = new DataColumn("Status", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnStatus);
            this.columnProjectCode.AllowDBNull = false;
            this.columnProjectCode.MaxLength = 30;
            this.columnCountry.MaxLength = 30;
            this.columnTitle.MaxLength = 30;
            this.columnStatus.MaxLength = 30;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnProjectCode = base.Columns["ProjectCode"];
            this.columnCountry = base.Columns["Country"];
            this.columnTitle = base.Columns["Title"];
            this.columnStatus = base.Columns["Status"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectNotAssignedYetRow NewProjectNotAssignedYetRow()
        {
            return (IP.ProjectNotAssignedYetRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.ProjectNotAssignedYetRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.ProjectNotAssignedYetRowChanged != null)
            {
                this.ProjectNotAssignedYetRowChanged(this, new IP.ProjectNotAssignedYetRowChangeEvent((IP.ProjectNotAssignedYetRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.ProjectNotAssignedYetRowChanging != null)
            {
                this.ProjectNotAssignedYetRowChanging(this, new IP.ProjectNotAssignedYetRowChangeEvent((IP.ProjectNotAssignedYetRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.ProjectNotAssignedYetRowDeleted != null)
            {
                this.ProjectNotAssignedYetRowDeleted(this, new IP.ProjectNotAssignedYetRowChangeEvent((IP.ProjectNotAssignedYetRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.ProjectNotAssignedYetRowDeleting != null)
            {
                this.ProjectNotAssignedYetRowDeleting(this, new IP.ProjectNotAssignedYetRowChangeEvent((IP.ProjectNotAssignedYetRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveProjectNotAssignedYetRow(IP.ProjectNotAssignedYetRow row)
        {
            base.Rows.Remove(row);
        }

        [DebuggerNonUserCode, Browsable(false)]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CountryColumn
        {
            get
            {
                return this.columnCountry;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectNotAssignedYetRow this[int index]
        {
            get
            {
                return (IP.ProjectNotAssignedYetRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ProjectCodeColumn
        {
            get
            {
                return this.columnProjectCode;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn StatusColumn
        {
            get
            {
                return this.columnStatus;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn TitleColumn
        {
            get
            {
                return this.columnTitle;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectNotAssignedYetRow : DataRow
    {
        private IP.ProjectNotAssignedYetDataTable tableProjectNotAssignedYet;

        /*[DebuggerNonUserCode]*/
        internal ProjectNotAssignedYetRow(DataRowBuilder rb) : base(rb)
        {
            this.tableProjectNotAssignedYet = (IP.ProjectNotAssignedYetDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectExpensesRow[] GetProjectExpensesRows()
        {
            return (IP.ProjectExpensesRow[]) base.GetChildRows(base.Table.ChildRelations["FK_ProjectExpenses_Project"]);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsCountryNull()
        {
            return base.IsNull(this.tableProjectNotAssignedYet.CountryColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsStatusNull()
        {
            return base.IsNull(this.tableProjectNotAssignedYet.StatusColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsTitleNull()
        {
            return base.IsNull(this.tableProjectNotAssignedYet.TitleColumn);
        }

        /*[DebuggerNonUserCode]*/
        public void SetCountryNull()
        {
            base[this.tableProjectNotAssignedYet.CountryColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetStatusNull()
        {
            base[this.tableProjectNotAssignedYet.StatusColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetTitleNull()
        {
            base[this.tableProjectNotAssignedYet.TitleColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public string Country
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectNotAssignedYet.CountryColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Country' in table 'ProjectNotAssignedYet' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectNotAssignedYet.CountryColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ProjectCode
        {
            get
            {
                return (string) base[this.tableProjectNotAssignedYet.ProjectCodeColumn];
            }
            set
            {
                base[this.tableProjectNotAssignedYet.ProjectCodeColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Status
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectNotAssignedYet.StatusColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Status' in table 'ProjectNotAssignedYet' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectNotAssignedYet.StatusColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Title
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProjectNotAssignedYet.TitleColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Title' in table 'ProjectNotAssignedYet' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProjectNotAssignedYet.TitleColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectNotAssignedYetRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.ProjectNotAssignedYetRow eventRow;

        /*[DebuggerNonUserCode]*/
        public ProjectNotAssignedYetRowChangeEvent(IP.ProjectNotAssignedYetRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectNotAssignedYetRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void ProjectNotAssignedYetRowChangeEventHandler(object sender, IP.ProjectNotAssignedYetRowChangeEvent e);

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectRow : DataRow
    {
        private IP.ProjectDataTable tableProject;

        /*[DebuggerNonUserCode]*/
        internal ProjectRow(DataRowBuilder rb) : base(rb)
        {
            this.tableProject = (IP.ProjectDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProductProjectRow[] GetProductProjectRows()
        {
            return (IP.ProductProjectRow[]) base.GetChildRows(base.Table.ChildRelations["FK_ProductProject_Project"]);
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectDocumentRow[] GetProjectDocumentRows()
        {
            return (IP.ProjectDocumentRow[]) base.GetChildRows(base.Table.ChildRelations["FK_ProjectDocument_Project"]);
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectSupervisorRow[] GetProjectSupervisorRows()
        {
            return (IP.ProjectSupervisorRow[]) base.GetChildRows(base.Table.ChildRelations["FK_ProjectResponsiblePerson_Project"]);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsACMEDueDateNull()
        {
            return base.IsNull(this.tableProject.ACMEDueDateColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentAddressNull()
        {
            return base.IsNull(this.tableProject.AgentAddressColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentChineseNameNull()
        {
            return base.IsNull(this.tableProject.AgentChineseNameColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentCompanyNameNull()
        {
            return base.IsNull(this.tableProject.AgentCompanyNameColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentContactEmailAddress3Null()
        {
            return base.IsNull(this.tableProject.AgentContactEmailAddress3Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentContactEmailAddress4Null()
        {
            return base.IsNull(this.tableProject.AgentContactEmailAddress4Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentContactFax3Null()
        {
            return base.IsNull(this.tableProject.AgentContactFax3Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentContactFax4Null()
        {
            return base.IsNull(this.tableProject.AgentContactFax4Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentContactPerson3Null()
        {
            return base.IsNull(this.tableProject.AgentContactPerson3Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentContactPerson4Null()
        {
            return base.IsNull(this.tableProject.AgentContactPerson4Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentContactPersonNull()
        {
            return base.IsNull(this.tableProject.AgentContactPersonColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentContactPhone3Null()
        {
            return base.IsNull(this.tableProject.AgentContactPhone3Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentContactPhone4Null()
        {
            return base.IsNull(this.tableProject.AgentContactPhone4Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentDueDateNull()
        {
            return base.IsNull(this.tableProject.AgentDueDateColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentEmailAddress2Null()
        {
            return base.IsNull(this.tableProject.AgentEmailAddress2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentEmailAddressNull()
        {
            return base.IsNull(this.tableProject.AgentEmailAddressColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentFaxNull()
        {
            return base.IsNull(this.tableProject.AgentFaxColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentJobTitleNull()
        {
            return base.IsNull(this.tableProject.AgentJobTitleColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentMobilePhone2Null()
        {
            return base.IsNull(this.tableProject.AgentMobilePhone2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentMobilePhoneNull()
        {
            return base.IsNull(this.tableProject.AgentMobilePhoneColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentNull()
        {
            return base.IsNull(this.tableProject.AgentColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentPhone2Null()
        {
            return base.IsNull(this.tableProject.AgentPhone2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentPhoneNull()
        {
            return base.IsNull(this.tableProject.AgentPhoneColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentWebSiteNull()
        {
            return base.IsNull(this.tableProject.AgentWebSiteColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAltContactEmailAddressNull()
        {
            return base.IsNull(this.tableProject.AltContactEmailAddressColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAltContactFaxNull()
        {
            return base.IsNull(this.tableProject.AltContactFaxColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAltContactPersonNull()
        {
            return base.IsNull(this.tableProject.AltContactPersonColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAltContactPersonTitleNull()
        {
            return base.IsNull(this.tableProject.AltContactPersonTitleColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAltContactPhoneNull()
        {
            return base.IsNull(this.tableProject.AltContactPhoneColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsApplicantNull()
        {
            return base.IsNull(this.tableProject.ApplicantColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsApplicationNoNull()
        {
            return base.IsNull(this.tableProject.ApplicationNoColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientAddressNull()
        {
            return base.IsNull(this.tableProject.ClientAddressColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientChineseNameNull()
        {
            return base.IsNull(this.tableProject.ClientChineseNameColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientCompanyNameNull()
        {
            return base.IsNull(this.tableProject.ClientCompanyNameColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientContactEmailAddress3Null()
        {
            return base.IsNull(this.tableProject.ClientContactEmailAddress3Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientContactEmailAddress4Null()
        {
            return base.IsNull(this.tableProject.ClientContactEmailAddress4Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientContactFax3Null()
        {
            return base.IsNull(this.tableProject.ClientContactFax3Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientContactFax4Null()
        {
            return base.IsNull(this.tableProject.ClientContactFax4Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientContactPerson3Null()
        {
            return base.IsNull(this.tableProject.ClientContactPerson3Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientContactPerson4Null()
        {
            return base.IsNull(this.tableProject.ClientContactPerson4Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientContactPersonNull()
        {
            return base.IsNull(this.tableProject.ClientContactPersonColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientContactPhone3Null()
        {
            return base.IsNull(this.tableProject.ClientContactPhone3Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientContactPhone4Null()
        {
            return base.IsNull(this.tableProject.ClientContactPhone4Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientEmailAddress2Null()
        {
            return base.IsNull(this.tableProject.ClientEmailAddress2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientEmailAddressNull()
        {
            return base.IsNull(this.tableProject.ClientEmailAddressColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientFaxNull()
        {
            return base.IsNull(this.tableProject.ClientFaxColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientJobTitleNull()
        {
            return base.IsNull(this.tableProject.ClientJobTitleColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientMobilePhone2Null()
        {
            return base.IsNull(this.tableProject.ClientMobilePhone2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientMobilePhoneNull()
        {
            return base.IsNull(this.tableProject.ClientMobilePhoneColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientNameNull()
        {
            return base.IsNull(this.tableProject.ClientNameColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientPhone2Null()
        {
            return base.IsNull(this.tableProject.ClientPhone2Column);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientPhoneNull()
        {
            return base.IsNull(this.tableProject.ClientPhoneColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientWebSiteNull()
        {
            return base.IsNull(this.tableProject.ClientWebSiteColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsCompletionDateNull()
        {
            return base.IsNull(this.tableProject.CompletionDateColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsCountryEnglishNameNull()
        {
            return base.IsNull(this.tableProject.CountryEnglishNameColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsCountryNull()
        {
            return base.IsNull(this.tableProject.CountryColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsFilingDateNull()
        {
            return base.IsNull(this.tableProject.FilingDateColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsFirstFilingYNNull()
        {
            return base.IsNull(this.tableProject.FirstFilingYNColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsGrantDateNull()
        {
            return base.IsNull(this.tableProject.GrantDateColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsHeadingNameNull()
        {
            return base.IsNull(this.tableProject.HeadingNameColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsInventorNull()
        {
            return base.IsNull(this.tableProject.InventorColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsPatentNumberNull()
        {
            return base.IsNull(this.tableProject.PatentNumberColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsPCTYNNull()
        {
            return base.IsNull(this.tableProject.PCTYNColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsPriorityCountryEnglishNameNull()
        {
            return base.IsNull(this.tableProject.PriorityCountryEnglishNameColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsPriorityCountryNull()
        {
            return base.IsNull(this.tableProject.PriorityCountryColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsPriorityDateNull()
        {
            return base.IsNull(this.tableProject.PriorityDateColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsPriorityNull()
        {
            return base.IsNull(this.tableProject.PriorityColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsProjectClassNull()
        {
            return base.IsNull(this.tableProject.ProjectClassColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsProjectGroupIDNull()
        {
            return base.IsNull(this.tableProject.ProjectGroupIDColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsPublicationNumberNull()
        {
            return base.IsNull(this.tableProject.PublicationNumberColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsRemarkNull()
        {
            return base.IsNull(this.tableProject.RemarkColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsStatusNull()
        {
            return base.IsNull(this.tableProject.StatusColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsTitleNull()
        {
            return base.IsNull(this.tableProject.TitleColumn);
        }

        /*[DebuggerNonUserCode]*/
        public void SetACMEDueDateNull()
        {
            base[this.tableProject.ACMEDueDateColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentAddressNull()
        {
            base[this.tableProject.AgentAddressColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentChineseNameNull()
        {
            base[this.tableProject.AgentChineseNameColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentCompanyNameNull()
        {
            base[this.tableProject.AgentCompanyNameColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentContactEmailAddress3Null()
        {
            base[this.tableProject.AgentContactEmailAddress3Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentContactEmailAddress4Null()
        {
            base[this.tableProject.AgentContactEmailAddress4Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentContactFax3Null()
        {
            base[this.tableProject.AgentContactFax3Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentContactFax4Null()
        {
            base[this.tableProject.AgentContactFax4Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentContactPerson3Null()
        {
            base[this.tableProject.AgentContactPerson3Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentContactPerson4Null()
        {
            base[this.tableProject.AgentContactPerson4Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentContactPersonNull()
        {
            base[this.tableProject.AgentContactPersonColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentContactPhone3Null()
        {
            base[this.tableProject.AgentContactPhone3Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentContactPhone4Null()
        {
            base[this.tableProject.AgentContactPhone4Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentDueDateNull()
        {
            base[this.tableProject.AgentDueDateColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentEmailAddress2Null()
        {
            base[this.tableProject.AgentEmailAddress2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentEmailAddressNull()
        {
            base[this.tableProject.AgentEmailAddressColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentFaxNull()
        {
            base[this.tableProject.AgentFaxColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentJobTitleNull()
        {
            base[this.tableProject.AgentJobTitleColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentMobilePhone2Null()
        {
            base[this.tableProject.AgentMobilePhone2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentMobilePhoneNull()
        {
            base[this.tableProject.AgentMobilePhoneColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentNull()
        {
            base[this.tableProject.AgentColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentPhone2Null()
        {
            base[this.tableProject.AgentPhone2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentPhoneNull()
        {
            base[this.tableProject.AgentPhoneColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentWebSiteNull()
        {
            base[this.tableProject.AgentWebSiteColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAltContactEmailAddressNull()
        {
            base[this.tableProject.AltContactEmailAddressColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAltContactFaxNull()
        {
            base[this.tableProject.AltContactFaxColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAltContactPersonNull()
        {
            base[this.tableProject.AltContactPersonColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAltContactPersonTitleNull()
        {
            base[this.tableProject.AltContactPersonTitleColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetAltContactPhoneNull()
        {
            base[this.tableProject.AltContactPhoneColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetApplicantNull()
        {
            base[this.tableProject.ApplicantColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetApplicationNoNull()
        {
            base[this.tableProject.ApplicationNoColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientAddressNull()
        {
            base[this.tableProject.ClientAddressColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientChineseNameNull()
        {
            base[this.tableProject.ClientChineseNameColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientCompanyNameNull()
        {
            base[this.tableProject.ClientCompanyNameColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientContactEmailAddress3Null()
        {
            base[this.tableProject.ClientContactEmailAddress3Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientContactEmailAddress4Null()
        {
            base[this.tableProject.ClientContactEmailAddress4Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientContactFax3Null()
        {
            base[this.tableProject.ClientContactFax3Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientContactFax4Null()
        {
            base[this.tableProject.ClientContactFax4Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientContactPerson3Null()
        {
            base[this.tableProject.ClientContactPerson3Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientContactPerson4Null()
        {
            base[this.tableProject.ClientContactPerson4Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientContactPersonNull()
        {
            base[this.tableProject.ClientContactPersonColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientContactPhone3Null()
        {
            base[this.tableProject.ClientContactPhone3Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientContactPhone4Null()
        {
            base[this.tableProject.ClientContactPhone4Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientEmailAddress2Null()
        {
            base[this.tableProject.ClientEmailAddress2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientEmailAddressNull()
        {
            base[this.tableProject.ClientEmailAddressColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientFaxNull()
        {
            base[this.tableProject.ClientFaxColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientJobTitleNull()
        {
            base[this.tableProject.ClientJobTitleColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientMobilePhone2Null()
        {
            base[this.tableProject.ClientMobilePhone2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientMobilePhoneNull()
        {
            base[this.tableProject.ClientMobilePhoneColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientNameNull()
        {
            base[this.tableProject.ClientNameColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientPhone2Null()
        {
            base[this.tableProject.ClientPhone2Column] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientPhoneNull()
        {
            base[this.tableProject.ClientPhoneColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientWebSiteNull()
        {
            base[this.tableProject.ClientWebSiteColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetCompletionDateNull()
        {
            base[this.tableProject.CompletionDateColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetCountryEnglishNameNull()
        {
            base[this.tableProject.CountryEnglishNameColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetCountryNull()
        {
            base[this.tableProject.CountryColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetFilingDateNull()
        {
            base[this.tableProject.FilingDateColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetFirstFilingYNNull()
        {
            base[this.tableProject.FirstFilingYNColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetGrantDateNull()
        {
            base[this.tableProject.GrantDateColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetHeadingNameNull()
        {
            base[this.tableProject.HeadingNameColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetInventorNull()
        {
            base[this.tableProject.InventorColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetPatentNumberNull()
        {
            base[this.tableProject.PatentNumberColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetPCTYNNull()
        {
            base[this.tableProject.PCTYNColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetPriorityCountryEnglishNameNull()
        {
            base[this.tableProject.PriorityCountryEnglishNameColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetPriorityCountryNull()
        {
            base[this.tableProject.PriorityCountryColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetPriorityDateNull()
        {
            base[this.tableProject.PriorityDateColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetPriorityNull()
        {
            base[this.tableProject.PriorityColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetProjectClassNull()
        {
            base[this.tableProject.ProjectClassColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetProjectGroupIDNull()
        {
            base[this.tableProject.ProjectGroupIDColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetPublicationNumberNull()
        {
            base[this.tableProject.PublicationNumberColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetRemarkNull()
        {
            base[this.tableProject.RemarkColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetStatusNull()
        {
            base[this.tableProject.StatusColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetTitleNull()
        {
            base[this.tableProject.TitleColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public string ACMEDueDate
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ACMEDueDateColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ACMEDueDate' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ACMEDueDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Agent
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Agent' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentAddress
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentAddressColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentAddress' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentAddressColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentChineseName
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentChineseNameColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentChineseName' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentChineseNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentCompanyName
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentCompanyNameColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentCompanyName' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentCompanyNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentContactEmailAddress3
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentContactEmailAddress3Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentContactEmailAddress3' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentContactEmailAddress3Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentContactEmailAddress4
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentContactEmailAddress4Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentContactEmailAddress4' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentContactEmailAddress4Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentContactFax3
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentContactFax3Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentContactFax3' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentContactFax3Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentContactFax4
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentContactFax4Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentContactFax4' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentContactFax4Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentContactPerson
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentContactPersonColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentContactPerson' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentContactPersonColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentContactPerson3
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentContactPerson3Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentContactPerson3' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentContactPerson3Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentContactPerson4
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentContactPerson4Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentContactPerson4' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentContactPerson4Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentContactPhone3
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentContactPhone3Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentContactPhone3' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentContactPhone3Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentContactPhone4
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentContactPhone4Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentContactPhone4' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentContactPhone4Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentDueDate
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentDueDateColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentDueDate' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentDueDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentEmailAddress
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentEmailAddressColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentEmailAddress' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentEmailAddressColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentEmailAddress2
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentEmailAddress2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentEmailAddress2' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentEmailAddress2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentFax
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentFaxColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentFax' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentFaxColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentJobTitle
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentJobTitleColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentJobTitle' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentJobTitleColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentMobilePhone
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentMobilePhoneColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentMobilePhone' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentMobilePhoneColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentMobilePhone2
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentMobilePhone2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentMobilePhone2' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentMobilePhone2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentPhone
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentPhoneColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentPhone' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentPhoneColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentPhone2
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentPhone2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentPhone2' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentPhone2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.AgentRow AgentRow
        {
            get
            {
                return (IP.AgentRow) base.GetParentRow(base.Table.ParentRelations["FK_Project_Agent"]);
            }
            set
            {
                base.SetParentRow(value, base.Table.ParentRelations["FK_Project_Agent"]);
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AgentWebSite
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AgentWebSiteColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AgentWebSite' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AgentWebSiteColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AltContactEmailAddress
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AltContactEmailAddressColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AltContactEmailAddress' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AltContactEmailAddressColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AltContactFax
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AltContactFaxColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AltContactFax' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AltContactFaxColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AltContactPerson
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AltContactPersonColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AltContactPerson' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AltContactPersonColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AltContactPersonTitle
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AltContactPersonTitleColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AltContactPersonTitle' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AltContactPersonTitleColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string AltContactPhone
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.AltContactPhoneColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'AltContactPhone' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.AltContactPhoneColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Applicant
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ApplicantColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Applicant' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ApplicantColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ApplicationNo
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ApplicationNoColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ApplicationNo' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ApplicationNoColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientAddress
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientAddressColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientAddress' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientAddressColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientChineseName
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientChineseNameColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientChineseName' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientChineseNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientCompanyName
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientCompanyNameColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientCompanyName' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientCompanyNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientContactEmailAddress3
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientContactEmailAddress3Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientContactEmailAddress3' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientContactEmailAddress3Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientContactEmailAddress4
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientContactEmailAddress4Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientContactEmailAddress4' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientContactEmailAddress4Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientContactFax3
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientContactFax3Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientContactFax3' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientContactFax3Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientContactFax4
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientContactFax4Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientContactFax4' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientContactFax4Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientContactPerson
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientContactPersonColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientContactPerson' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientContactPersonColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientContactPerson3
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientContactPerson3Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientContactPerson3' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientContactPerson3Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientContactPerson4
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientContactPerson4Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientContactPerson4' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientContactPerson4Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientContactPhone3
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientContactPhone3Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientContactPhone3' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientContactPhone3Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientContactPhone4
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientContactPhone4Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientContactPhone4' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientContactPhone4Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientEmailAddress
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientEmailAddressColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientEmailAddress' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientEmailAddressColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientEmailAddress2
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientEmailAddress2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientEmailAddress2' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientEmailAddress2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientFax
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientFaxColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientFax' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientFaxColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientJobTitle
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientJobTitleColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientJobTitle' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientJobTitleColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientMobilePhone
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientMobilePhoneColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientMobilePhone' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientMobilePhoneColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientMobilePhone2
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientMobilePhone2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientMobilePhone2' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientMobilePhone2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientName
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientNameColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientName' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientPhone
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientPhoneColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientPhone' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientPhoneColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientPhone2
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientPhone2Column];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientPhone2' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientPhone2Column] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ClientWebSite
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ClientWebSiteColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ClientWebSite' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ClientWebSiteColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string CompletionDate
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.CompletionDateColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'CompletionDate' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.CompletionDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Country
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.CountryColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Country' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.CountryColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string CountryEnglishName
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.CountryEnglishNameColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'CountryEnglishName' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.CountryEnglishNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string CreateBy
        {
            get
            {
                return (string) base[this.tableProject.CreateByColumn];
            }
            set
            {
                base[this.tableProject.CreateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime FilingDate
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableProject.FilingDateColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'FilingDate' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.FilingDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public bool FirstFilingYN
        {
            get
            {
                bool ret;
                try
                {
                    ret = (bool) base[this.tableProject.FirstFilingYNColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'FirstFilingYN' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.FirstFilingYNColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime GrantDate
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableProject.GrantDateColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'GrantDate' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.GrantDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string HeadingName
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.HeadingNameColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'HeadingName' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.HeadingNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Inventor
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.InventorColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Inventor' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.InventorColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string OwnerGroupID
        {
            get
            {
                return (string) base[this.tableProject.OwnerGroupIDColumn];
            }
            set
            {
                base[this.tableProject.OwnerGroupIDColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string PatentNumber
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.PatentNumberColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'PatentNumber' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.PatentNumberColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public bool PCTYN
        {
            get
            {
                bool ret;
                try
                {
                    ret = (bool) base[this.tableProject.PCTYNColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'PCTYN' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.PCTYNColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public bool Priority
        {
            get
            {
                bool ret;
                try
                {
                    ret = (bool) base[this.tableProject.PriorityColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Priority' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.PriorityColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string PriorityCountry
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.PriorityCountryColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'PriorityCountry' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.PriorityCountryColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string PriorityCountryEnglishName
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.PriorityCountryEnglishNameColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'PriorityCountryEnglishName' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.PriorityCountryEnglishNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DateTime PriorityDate
        {
            get
            {
                DateTime ret;
                try
                {
                    ret = (DateTime) base[this.tableProject.PriorityDateColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'PriorityDate' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.PriorityDateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ProjectClass
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ProjectClassColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ProjectClass' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ProjectClassColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ProjectCode
        {
            get
            {
                return (string) base[this.tableProject.ProjectCodeColumn];
            }
            set
            {
                base[this.tableProject.ProjectCodeColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ProjectGroupID
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.ProjectGroupIDColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ProjectGroupID' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.ProjectGroupIDColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string PublicationNumber
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.PublicationNumberColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'PublicationNumber' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.PublicationNumberColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Remark
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.RemarkColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Remark' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.RemarkColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Status
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.StatusColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Status' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.StatusColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Title
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableProject.TitleColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Title' in table 'Project' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableProject.TitleColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Type
        {
            get
            {
                return (string) base[this.tableProject.TypeColumn];
            }
            set
            {
                base[this.tableProject.TypeColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string UpdateBy
        {
            get
            {
                return (string) base[this.tableProject.UpdateByColumn];
            }
            set
            {
                base[this.tableProject.UpdateByColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.ProjectRow eventRow;

        /*[DebuggerNonUserCode]*/
        public ProjectRowChangeEvent(IP.ProjectRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void ProjectRowChangeEventHandler(object sender, IP.ProjectRowChangeEvent e);

    [Serializable, XmlSchemaProvider("GetTypedTableSchema"), GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectSupervisorDataTable : DataTable, IEnumerable
    {
        private DataColumn columnCreateBy;
        private DataColumn columnOwnerGroupID;
        private DataColumn columnProjectCode;
        private DataColumn columnResponsiblePerson;
        private DataColumn columnUpdateBy;

        public event IP.ProjectSupervisorRowChangeEventHandler ProjectSupervisorRowChanged;

        public event IP.ProjectSupervisorRowChangeEventHandler ProjectSupervisorRowChanging;

        public event IP.ProjectSupervisorRowChangeEventHandler ProjectSupervisorRowDeleted;

        public event IP.ProjectSupervisorRowChangeEventHandler ProjectSupervisorRowDeleting;

        /*[DebuggerNonUserCode]*/
        public ProjectSupervisorDataTable()
        {
            base.TableName = "ProjectSupervisor";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal ProjectSupervisorDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected ProjectSupervisorDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddProjectSupervisorRow(IP.ProjectSupervisorRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectSupervisorRow AddProjectSupervisorRow(IP.ProjectRow parentProjectRowByFK_ProjectResponsiblePerson_Project, string ResponsiblePerson, string CreateBy, string UpdateBy, string OwnerGroupID)
        {
            IP.ProjectSupervisorRow rowProjectSupervisorRow = (IP.ProjectSupervisorRow) base.NewRow();
            rowProjectSupervisorRow.ItemArray = new object[] { parentProjectRowByFK_ProjectResponsiblePerson_Project[0], ResponsiblePerson, CreateBy, UpdateBy, OwnerGroupID };
            base.Rows.Add(rowProjectSupervisorRow);
            return rowProjectSupervisorRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.ProjectSupervisorDataTable cln = (IP.ProjectSupervisorDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.ProjectSupervisorDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectSupervisorRow FindByProjectCodeResponsiblePerson(string ProjectCode, string ResponsiblePerson)
        {
            return (IP.ProjectSupervisorRow) base.Rows.Find(new object[] { ProjectCode, ResponsiblePerson });
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.ProjectSupervisorRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "ProjectSupervisorDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnProjectCode = new DataColumn("ProjectCode", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnProjectCode);
            this.columnResponsiblePerson = new DataColumn("ResponsiblePerson", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnResponsiblePerson);
            this.columnCreateBy = new DataColumn("CreateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCreateBy);
            this.columnUpdateBy = new DataColumn("UpdateBy", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnUpdateBy);
            this.columnOwnerGroupID = new DataColumn("OwnerGroupID", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnOwnerGroupID);
            base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnProjectCode, this.columnResponsiblePerson }, true));
            this.columnProjectCode.AllowDBNull = false;
            this.columnProjectCode.MaxLength = 30;
            this.columnResponsiblePerson.AllowDBNull = false;
            this.columnResponsiblePerson.MaxLength = 30;
            this.columnCreateBy.AllowDBNull = false;
            this.columnCreateBy.MaxLength = 30;
            this.columnUpdateBy.AllowDBNull = false;
            this.columnUpdateBy.MaxLength = 30;
            this.columnOwnerGroupID.AllowDBNull = false;
            this.columnOwnerGroupID.MaxLength = 30;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnProjectCode = base.Columns["ProjectCode"];
            this.columnResponsiblePerson = base.Columns["ResponsiblePerson"];
            this.columnCreateBy = base.Columns["CreateBy"];
            this.columnUpdateBy = base.Columns["UpdateBy"];
            this.columnOwnerGroupID = base.Columns["OwnerGroupID"];
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectSupervisorRow NewProjectSupervisorRow()
        {
            return (IP.ProjectSupervisorRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.ProjectSupervisorRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.ProjectSupervisorRowChanged != null)
            {
                this.ProjectSupervisorRowChanged(this, new IP.ProjectSupervisorRowChangeEvent((IP.ProjectSupervisorRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.ProjectSupervisorRowChanging != null)
            {
                this.ProjectSupervisorRowChanging(this, new IP.ProjectSupervisorRowChangeEvent((IP.ProjectSupervisorRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.ProjectSupervisorRowDeleted != null)
            {
                this.ProjectSupervisorRowDeleted(this, new IP.ProjectSupervisorRowChangeEvent((IP.ProjectSupervisorRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.ProjectSupervisorRowDeleting != null)
            {
                this.ProjectSupervisorRowDeleting(this, new IP.ProjectSupervisorRowChangeEvent((IP.ProjectSupervisorRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveProjectSupervisorRow(IP.ProjectSupervisorRow row)
        {
            base.Rows.Remove(row);
        }

        [DebuggerNonUserCode, Browsable(false)]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CreateByColumn
        {
            get
            {
                return this.columnCreateBy;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectSupervisorRow this[int index]
        {
            get
            {
                return (IP.ProjectSupervisorRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn OwnerGroupIDColumn
        {
            get
            {
                return this.columnOwnerGroupID;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ProjectCodeColumn
        {
            get
            {
                return this.columnProjectCode;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ResponsiblePersonColumn
        {
            get
            {
                return this.columnResponsiblePerson;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UpdateByColumn
        {
            get
            {
                return this.columnUpdateBy;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectSupervisorRow : DataRow
    {
        private IP.ProjectSupervisorDataTable tableProjectSupervisor;

        /*[DebuggerNonUserCode]*/
        internal ProjectSupervisorRow(DataRowBuilder rb) : base(rb)
        {
            this.tableProjectSupervisor = (IP.ProjectSupervisorDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public string CreateBy
        {
            get
            {
                return (string) base[this.tableProjectSupervisor.CreateByColumn];
            }
            set
            {
                base[this.tableProjectSupervisor.CreateByColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.GetReminder2SpRow GetReminder2SpRow
        {
            get
            {
                return (IP.GetReminder2SpRow) base.GetParentRow(base.Table.ParentRelations["FK_ProjectResponsiblePerson_Project1"]);
            }
            set
            {
                base.SetParentRow(value, base.Table.ParentRelations["FK_ProjectResponsiblePerson_Project1"]);
            }
        }

        /*[DebuggerNonUserCode]*/
        public string OwnerGroupID
        {
            get
            {
                return (string) base[this.tableProjectSupervisor.OwnerGroupIDColumn];
            }
            set
            {
                base[this.tableProjectSupervisor.OwnerGroupIDColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ProjectCode
        {
            get
            {
                return (string) base[this.tableProjectSupervisor.ProjectCodeColumn];
            }
            set
            {
                base[this.tableProjectSupervisor.ProjectCodeColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectRow ProjectRow
        {
            get
            {
                return (IP.ProjectRow) base.GetParentRow(base.Table.ParentRelations["FK_ProjectResponsiblePerson_Project"]);
            }
            set
            {
                base.SetParentRow(value, base.Table.ParentRelations["FK_ProjectResponsiblePerson_Project"]);
            }
        }

        /*[DebuggerNonUserCode]*/
        public string ResponsiblePerson
        {
            get
            {
                return (string) base[this.tableProjectSupervisor.ResponsiblePersonColumn];
            }
            set
            {
                base[this.tableProjectSupervisor.ResponsiblePersonColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string UpdateBy
        {
            get
            {
                return (string) base[this.tableProjectSupervisor.UpdateByColumn];
            }
            set
            {
                base[this.tableProjectSupervisor.UpdateByColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class ProjectSupervisorRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.ProjectSupervisorRow eventRow;

        /*[DebuggerNonUserCode]*/
        public ProjectSupervisorRowChangeEvent(IP.ProjectSupervisorRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.ProjectSupervisorRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void ProjectSupervisorRowChangeEventHandler(object sender, IP.ProjectSupervisorRowChangeEvent e);

    [Serializable, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), XmlSchemaProvider("GetTypedTableSchema")]
    public class SearchProjectDataTable : DataTable, IEnumerable
    {
        private DataColumn columnAgent;
        private DataColumn columnApplicant;
        private DataColumn columnClient;
        private DataColumn columnCountry;
        private DataColumn columnInventor;
        private DataColumn columnProject_Code;
        private DataColumn columnResponsible_Person;
        private DataColumn columnStatus;
        private DataColumn columnTitle;
        private DataColumn columnType;

        public event IP.SearchProjectRowChangeEventHandler SearchProjectRowChanged;

        public event IP.SearchProjectRowChangeEventHandler SearchProjectRowChanging;

        public event IP.SearchProjectRowChangeEventHandler SearchProjectRowDeleted;

        public event IP.SearchProjectRowChangeEventHandler SearchProjectRowDeleting;

        /*[DebuggerNonUserCode]*/
        public SearchProjectDataTable()
        {
            base.TableName = "SearchProject";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal SearchProjectDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected SearchProjectDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddSearchProjectRow(IP.SearchProjectRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.SearchProjectRow AddSearchProjectRow(string Project_Code, string Client, string Country, string Type, IP.AgentRow parentAgentRowByFK_Project_Agent1, string Title, string Applicant, string Responsible_Person, string Status, string Inventor)
        {
            IP.SearchProjectRow rowSearchProjectRow = (IP.SearchProjectRow) base.NewRow();
            rowSearchProjectRow.ItemArray = new object[] { Project_Code, Client, Country, Type, parentAgentRowByFK_Project_Agent1[0], Title, Applicant, Responsible_Person, Status, Inventor };
            base.Rows.Add(rowSearchProjectRow);
            return rowSearchProjectRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.SearchProjectDataTable cln = (IP.SearchProjectDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.SearchProjectDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public IP.SearchProjectRow FindByProject_Code(string Project_Code)
        {
            return (IP.SearchProjectRow) base.Rows.Find(new object[] { Project_Code });
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.SearchProjectRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "SearchProjectDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnProject_Code = new DataColumn("Project Code", typeof(string), null, MappingType.Element);
            this.columnProject_Code.ExtendedProperties.Add("Generator_ColumnPropNameInRow", "Project_Code");
            this.columnProject_Code.ExtendedProperties.Add("Generator_ColumnPropNameInTable", "Project_CodeColumn");
            this.columnProject_Code.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "columnProject_Code");
            this.columnProject_Code.ExtendedProperties.Add("Generator_UserColumnName", "Project Code");
            base.Columns.Add(this.columnProject_Code);
            this.columnClient = new DataColumn("Client", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnClient);
            this.columnCountry = new DataColumn("Country", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnCountry);
            this.columnType = new DataColumn("Type", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnType);
            this.columnAgent = new DataColumn("Agent", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnAgent);
            this.columnTitle = new DataColumn("Title", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnTitle);
            this.columnApplicant = new DataColumn("Applicant", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnApplicant);
            this.columnResponsible_Person = new DataColumn("Responsible Person", typeof(string), null, MappingType.Element);
            this.columnResponsible_Person.ExtendedProperties.Add("Generator_ColumnPropNameInRow", "Responsible_Person");
            this.columnResponsible_Person.ExtendedProperties.Add("Generator_ColumnPropNameInTable", "Responsible_PersonColumn");
            this.columnResponsible_Person.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "columnResponsible_Person");
            this.columnResponsible_Person.ExtendedProperties.Add("Generator_UserColumnName", "Responsible Person");
            base.Columns.Add(this.columnResponsible_Person);
            this.columnStatus = new DataColumn("Status", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnStatus);
            this.columnInventor = new DataColumn("Inventor", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnInventor);
            base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnProject_Code }, true));
            this.columnProject_Code.AllowDBNull = false;
            this.columnProject_Code.Unique = true;
            this.columnProject_Code.MaxLength = 30;
            this.columnClient.ReadOnly = true;
            this.columnClient.MaxLength = 30;
            this.columnCountry.ReadOnly = true;
            this.columnCountry.MaxLength = 100;
            this.columnType.AllowDBNull = false;
            this.columnType.MaxLength = 30;
            this.columnAgent.ReadOnly = true;
            this.columnAgent.MaxLength = 30;
            this.columnTitle.MaxLength = 30;
            this.columnApplicant.MaxLength = 30;
            this.columnResponsible_Person.ReadOnly = true;
            this.columnResponsible_Person.MaxLength = 30;
            this.columnStatus.MaxLength = 30;
            this.columnInventor.MaxLength = 30;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnProject_Code = base.Columns["Project Code"];
            this.columnClient = base.Columns["Client"];
            this.columnCountry = base.Columns["Country"];
            this.columnType = base.Columns["Type"];
            this.columnAgent = base.Columns["Agent"];
            this.columnTitle = base.Columns["Title"];
            this.columnApplicant = base.Columns["Applicant"];
            this.columnResponsible_Person = base.Columns["Responsible Person"];
            this.columnStatus = base.Columns["Status"];
            this.columnInventor = base.Columns["Inventor"];
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.SearchProjectRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        public IP.SearchProjectRow NewSearchProjectRow()
        {
            return (IP.SearchProjectRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.SearchProjectRowChanged != null)
            {
                this.SearchProjectRowChanged(this, new IP.SearchProjectRowChangeEvent((IP.SearchProjectRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.SearchProjectRowChanging != null)
            {
                this.SearchProjectRowChanging(this, new IP.SearchProjectRowChangeEvent((IP.SearchProjectRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.SearchProjectRowDeleted != null)
            {
                this.SearchProjectRowDeleted(this, new IP.SearchProjectRowChangeEvent((IP.SearchProjectRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.SearchProjectRowDeleting != null)
            {
                this.SearchProjectRowDeleting(this, new IP.SearchProjectRowChangeEvent((IP.SearchProjectRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveSearchProjectRow(IP.SearchProjectRow row)
        {
            base.Rows.Remove(row);
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn AgentColumn
        {
            get
            {
                return this.columnAgent;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ApplicantColumn
        {
            get
            {
                return this.columnApplicant;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ClientColumn
        {
            get
            {
                return this.columnClient;
            }
        }

        [Browsable(false), DebuggerNonUserCode]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CountryColumn
        {
            get
            {
                return this.columnCountry;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn InventorColumn
        {
            get
            {
                return this.columnInventor;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.SearchProjectRow this[int index]
        {
            get
            {
                return (IP.SearchProjectRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn Project_CodeColumn
        {
            get
            {
                return this.columnProject_Code;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn Responsible_PersonColumn
        {
            get
            {
                return this.columnResponsible_Person;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn StatusColumn
        {
            get
            {
                return this.columnStatus;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn TitleColumn
        {
            get
            {
                return this.columnTitle;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn TypeColumn
        {
            get
            {
                return this.columnType;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class SearchProjectRow : DataRow
    {
        private IP.SearchProjectDataTable tableSearchProject;

        /*[DebuggerNonUserCode]*/
        internal SearchProjectRow(DataRowBuilder rb) : base(rb)
        {
            this.tableSearchProject = (IP.SearchProjectDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public bool IsAgentNull()
        {
            return base.IsNull(this.tableSearchProject.AgentColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsApplicantNull()
        {
            return base.IsNull(this.tableSearchProject.ApplicantColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsClientNull()
        {
            return base.IsNull(this.tableSearchProject.ClientColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsCountryNull()
        {
            return base.IsNull(this.tableSearchProject.CountryColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsInventorNull()
        {
            return base.IsNull(this.tableSearchProject.InventorColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsResponsible_PersonNull()
        {
            return base.IsNull(this.tableSearchProject.Responsible_PersonColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsStatusNull()
        {
            return base.IsNull(this.tableSearchProject.StatusColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsTitleNull()
        {
            return base.IsNull(this.tableSearchProject.TitleColumn);
        }

        /*[DebuggerNonUserCode]*/
        public void SetAgentNull()
        {
            base[this.tableSearchProject.AgentColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetApplicantNull()
        {
            base[this.tableSearchProject.ApplicantColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetClientNull()
        {
            base[this.tableSearchProject.ClientColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetCountryNull()
        {
            base[this.tableSearchProject.CountryColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetInventorNull()
        {
            base[this.tableSearchProject.InventorColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetResponsible_PersonNull()
        {
            base[this.tableSearchProject.Responsible_PersonColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetStatusNull()
        {
            base[this.tableSearchProject.StatusColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetTitleNull()
        {
            base[this.tableSearchProject.TitleColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public string Agent
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableSearchProject.AgentColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Agent' in table 'SearchProject' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableSearchProject.AgentColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.AgentRow AgentRow
        {
            get
            {
                return (IP.AgentRow) base.GetParentRow(base.Table.ParentRelations["FK_Project_Agent1"]);
            }
            set
            {
                base.SetParentRow(value, base.Table.ParentRelations["FK_Project_Agent1"]);
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Applicant
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableSearchProject.ApplicantColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Applicant' in table 'SearchProject' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableSearchProject.ApplicantColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Client
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableSearchProject.ClientColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Client' in table 'SearchProject' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableSearchProject.ClientColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Country
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableSearchProject.CountryColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Country' in table 'SearchProject' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableSearchProject.CountryColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Inventor
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableSearchProject.InventorColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Inventor' in table 'SearchProject' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableSearchProject.InventorColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Project_Code
        {
            get
            {
                return (string) base[this.tableSearchProject.Project_CodeColumn];
            }
            set
            {
                base[this.tableSearchProject.Project_CodeColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Responsible_Person
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableSearchProject.Responsible_PersonColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Responsible Person' in table 'SearchProject' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableSearchProject.Responsible_PersonColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Status
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableSearchProject.StatusColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Status' in table 'SearchProject' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableSearchProject.StatusColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Title
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableSearchProject.TitleColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'Title' in table 'SearchProject' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableSearchProject.TitleColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string Type
        {
            get
            {
                return (string) base[this.tableSearchProject.TypeColumn];
            }
            set
            {
                base[this.tableSearchProject.TypeColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class SearchProjectRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.SearchProjectRow eventRow;

        /*[DebuggerNonUserCode]*/
        public SearchProjectRowChangeEvent(IP.SearchProjectRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.SearchProjectRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void SearchProjectRowChangeEventHandler(object sender, IP.SearchProjectRowChangeEvent e);

    [Serializable, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), XmlSchemaProvider("GetTypedTableSchema")]
    public class SystemSettingDataTable : DataTable, IEnumerable
    {
        private DataColumn columnDocumentRootDirectory;
        private DataColumn columnReminderMode;

        public event IP.SystemSettingRowChangeEventHandler SystemSettingRowChanged;

        public event IP.SystemSettingRowChangeEventHandler SystemSettingRowChanging;

        public event IP.SystemSettingRowChangeEventHandler SystemSettingRowDeleted;

        public event IP.SystemSettingRowChangeEventHandler SystemSettingRowDeleting;

        /*[DebuggerNonUserCode]*/
        public SystemSettingDataTable()
        {
            base.TableName = "SystemSetting";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal SystemSettingDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected SystemSettingDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddSystemSettingRow(IP.SystemSettingRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.SystemSettingRow AddSystemSettingRow(byte ReminderMode, string DocumentRootDirectory)
        {
            IP.SystemSettingRow rowSystemSettingRow = (IP.SystemSettingRow) base.NewRow();
            rowSystemSettingRow.ItemArray = new object[] { ReminderMode, DocumentRootDirectory };
            base.Rows.Add(rowSystemSettingRow);
            return rowSystemSettingRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.SystemSettingDataTable cln = (IP.SystemSettingDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.SystemSettingDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.SystemSettingRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "SystemSettingDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnReminderMode = new DataColumn("ReminderMode", typeof(byte), null, MappingType.Element);
            base.Columns.Add(this.columnReminderMode);
            this.columnDocumentRootDirectory = new DataColumn("DocumentRootDirectory", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnDocumentRootDirectory);
            this.columnDocumentRootDirectory.MaxLength = 150;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnReminderMode = base.Columns["ReminderMode"];
            this.columnDocumentRootDirectory = base.Columns["DocumentRootDirectory"];
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.SystemSettingRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        public IP.SystemSettingRow NewSystemSettingRow()
        {
            return (IP.SystemSettingRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.SystemSettingRowChanged != null)
            {
                this.SystemSettingRowChanged(this, new IP.SystemSettingRowChangeEvent((IP.SystemSettingRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.SystemSettingRowChanging != null)
            {
                this.SystemSettingRowChanging(this, new IP.SystemSettingRowChangeEvent((IP.SystemSettingRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.SystemSettingRowDeleted != null)
            {
                this.SystemSettingRowDeleted(this, new IP.SystemSettingRowChangeEvent((IP.SystemSettingRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.SystemSettingRowDeleting != null)
            {
                this.SystemSettingRowDeleting(this, new IP.SystemSettingRowChangeEvent((IP.SystemSettingRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveSystemSettingRow(IP.SystemSettingRow row)
        {
            base.Rows.Remove(row);
        }

        [Browsable(false), DebuggerNonUserCode]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn DocumentRootDirectoryColumn
        {
            get
            {
                return this.columnDocumentRootDirectory;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.SystemSettingRow this[int index]
        {
            get
            {
                return (IP.SystemSettingRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn ReminderModeColumn
        {
            get
            {
                return this.columnReminderMode;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class SystemSettingRow : DataRow
    {
        private IP.SystemSettingDataTable tableSystemSetting;

        /*[DebuggerNonUserCode]*/
        internal SystemSettingRow(DataRowBuilder rb) : base(rb)
        {
            this.tableSystemSetting = (IP.SystemSettingDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public bool IsDocumentRootDirectoryNull()
        {
            return base.IsNull(this.tableSystemSetting.DocumentRootDirectoryColumn);
        }

        /*[DebuggerNonUserCode]*/
        public bool IsReminderModeNull()
        {
            return base.IsNull(this.tableSystemSetting.ReminderModeColumn);
        }

        /*[DebuggerNonUserCode]*/
        public void SetDocumentRootDirectoryNull()
        {
            base[this.tableSystemSetting.DocumentRootDirectoryColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public void SetReminderModeNull()
        {
            base[this.tableSystemSetting.ReminderModeColumn] = Convert.DBNull;
        }

        /*[DebuggerNonUserCode]*/
        public string DocumentRootDirectory
        {
            get
            {
                string ret;
                try
                {
                    ret = (string) base[this.tableSystemSetting.DocumentRootDirectoryColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'DocumentRootDirectory' in table 'SystemSetting' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableSystemSetting.DocumentRootDirectoryColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public byte ReminderMode
        {
            get
            {
                byte ret;
                try
                {
                    ret = (byte) base[this.tableSystemSetting.ReminderModeColumn];
                }
                catch (InvalidCastException e)
                {
                    throw new StrongTypingException("The value for column 'ReminderMode' in table 'SystemSetting' is DBNull.", e);
                }
                return ret;
            }
            set
            {
                base[this.tableSystemSetting.ReminderModeColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class SystemSettingRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.SystemSettingRow eventRow;

        /*[DebuggerNonUserCode]*/
        public SystemSettingRowChangeEvent(IP.SystemSettingRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.SystemSettingRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void SystemSettingRowChangeEventHandler(object sender, IP.SystemSettingRowChangeEvent e);

    [Serializable, XmlSchemaProvider("GetTypedTableSchema"), GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class UserPagesDataTable : DataTable, IEnumerable
    {
        private DataColumn columnCanAdd;
        private DataColumn columnCanDelete;
        private DataColumn columnCanUpdate;
        private DataColumn columnCanView;
        private DataColumn columnPageName;
        private DataColumn columnUserId;

        public event IP.UserPagesRowChangeEventHandler UserPagesRowChanged;

        public event IP.UserPagesRowChangeEventHandler UserPagesRowChanging;

        public event IP.UserPagesRowChangeEventHandler UserPagesRowDeleted;

        public event IP.UserPagesRowChangeEventHandler UserPagesRowDeleting;

        /*[DebuggerNonUserCode]*/
        public UserPagesDataTable()
        {
            base.TableName = "UserPages";
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }

        /*[DebuggerNonUserCode]*/
        internal UserPagesDataTable(DataTable table)
        {
            base.TableName = table.TableName;
            if (table.CaseSensitive != table.DataSet.CaseSensitive)
            {
                base.CaseSensitive = table.CaseSensitive;
            }
            if (table.Locale.ToString() != table.DataSet.Locale.ToString())
            {
                base.Locale = table.Locale;
            }
            if (table.Namespace != table.DataSet.Namespace)
            {
                base.Namespace = table.Namespace;
            }
            base.Prefix = table.Prefix;
            base.MinimumCapacity = table.MinimumCapacity;
        }

        /*[DebuggerNonUserCode]*/
        protected UserPagesDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this.InitVars();
        }

        /*[DebuggerNonUserCode]*/
        public void AddUserPagesRow(IP.UserPagesRow row)
        {
            base.Rows.Add(row);
        }

        /*[DebuggerNonUserCode]*/
        public IP.UserPagesRow AddUserPagesRow(Guid UserId, string PageName, bool CanAdd, bool CanDelete, bool CanUpdate, bool CanView)
        {
            IP.UserPagesRow rowUserPagesRow = (IP.UserPagesRow) base.NewRow();
            rowUserPagesRow.ItemArray = new object[] { UserId, PageName, CanAdd, CanDelete, CanUpdate, CanView };
            base.Rows.Add(rowUserPagesRow);
            return rowUserPagesRow;
        }

        /*[DebuggerNonUserCode]*/
        public override DataTable Clone()
        {
            IP.UserPagesDataTable cln = (IP.UserPagesDataTable) base.Clone();
            cln.InitVars();
            return cln;
        }

        /*[DebuggerNonUserCode]*/
        protected override DataTable CreateInstance()
        {
            return new IP.UserPagesDataTable();
        }

        /*[DebuggerNonUserCode]*/
        public IP.UserPagesRow FindByUserIdPageName(Guid UserId, string PageName)
        {
            return (IP.UserPagesRow) base.Rows.Find(new object[] { UserId, PageName });
        }

        /*[DebuggerNonUserCode]*/
        public virtual IEnumerator GetEnumerator()
        {
            return base.Rows.GetEnumerator();
        }

        /*[DebuggerNonUserCode]*/
        protected override Type GetRowType()
        {
            return typeof(IP.UserPagesRow);
        }

        /*[DebuggerNonUserCode]*/
        public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            IP ds = new IP();
            xs.Add(ds.GetSchemaSerializable());
            XmlSchemaAny any1 = new XmlSchemaAny();
            any1.Namespace = "http://www.w3.org/2001/XMLSchema";
            any1.MinOccurs = 0M;
            any1.MaxOccurs = 79228162514264337593543950335M;
            any1.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any1);
            XmlSchemaAny any2 = new XmlSchemaAny();
            any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
            any2.MinOccurs = 1M;
            any2.ProcessContents = XmlSchemaContentProcessing.Lax;
            sequence.Items.Add(any2);
            XmlSchemaAttribute attribute1 = new XmlSchemaAttribute();
            attribute1.Name = "namespace";
            attribute1.FixedValue = ds.Namespace;
            type.Attributes.Add(attribute1);
            XmlSchemaAttribute attribute2 = new XmlSchemaAttribute();
            attribute2.Name = "tableTypeName";
            attribute2.FixedValue = "UserPagesDataTable";
            type.Attributes.Add(attribute2);
            type.Particle = sequence;
            return type;
        }

        /*[DebuggerNonUserCode]*/
        private void InitClass()
        {
            this.columnUserId = new DataColumn("UserId", typeof(Guid), null, MappingType.Element);
            base.Columns.Add(this.columnUserId);
            this.columnPageName = new DataColumn("PageName", typeof(string), null, MappingType.Element);
            base.Columns.Add(this.columnPageName);
            this.columnCanAdd = new DataColumn("CanAdd", typeof(bool), null, MappingType.Element);
            base.Columns.Add(this.columnCanAdd);
            this.columnCanDelete = new DataColumn("CanDelete", typeof(bool), null, MappingType.Element);
            base.Columns.Add(this.columnCanDelete);
            this.columnCanUpdate = new DataColumn("CanUpdate", typeof(bool), null, MappingType.Element);
            base.Columns.Add(this.columnCanUpdate);
            this.columnCanView = new DataColumn("CanView", typeof(bool), null, MappingType.Element);
            base.Columns.Add(this.columnCanView);
            base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnUserId, this.columnPageName }, true));
            this.columnUserId.AllowDBNull = false;
            this.columnPageName.AllowDBNull = false;
            this.columnPageName.MaxLength = 100;
            this.columnCanAdd.AllowDBNull = false;
            this.columnCanDelete.AllowDBNull = false;
            this.columnCanUpdate.AllowDBNull = false;
            this.columnCanView.AllowDBNull = false;
        }

        /*[DebuggerNonUserCode]*/
        internal void InitVars()
        {
            this.columnUserId = base.Columns["UserId"];
            this.columnPageName = base.Columns["PageName"];
            this.columnCanAdd = base.Columns["CanAdd"];
            this.columnCanDelete = base.Columns["CanDelete"];
            this.columnCanUpdate = base.Columns["CanUpdate"];
            this.columnCanView = base.Columns["CanView"];
        }

        /*[DebuggerNonUserCode]*/
        protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
        {
            return new IP.UserPagesRow(builder);
        }

        /*[DebuggerNonUserCode]*/
        public IP.UserPagesRow NewUserPagesRow()
        {
            return (IP.UserPagesRow) base.NewRow();
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanged(DataRowChangeEventArgs e)
        {
            base.OnRowChanged(e);
            if (this.UserPagesRowChanged != null)
            {
                this.UserPagesRowChanged(this, new IP.UserPagesRowChangeEvent((IP.UserPagesRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowChanging(DataRowChangeEventArgs e)
        {
            base.OnRowChanging(e);
            if (this.UserPagesRowChanging != null)
            {
                this.UserPagesRowChanging(this, new IP.UserPagesRowChangeEvent((IP.UserPagesRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleted(DataRowChangeEventArgs e)
        {
            base.OnRowDeleted(e);
            if (this.UserPagesRowDeleted != null)
            {
                this.UserPagesRowDeleted(this, new IP.UserPagesRowChangeEvent((IP.UserPagesRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        protected override void OnRowDeleting(DataRowChangeEventArgs e)
        {
            base.OnRowDeleting(e);
            if (this.UserPagesRowDeleting != null)
            {
                this.UserPagesRowDeleting(this, new IP.UserPagesRowChangeEvent((IP.UserPagesRow) e.Row, e.Action));
            }
        }

        /*[DebuggerNonUserCode]*/
        public void RemoveUserPagesRow(IP.UserPagesRow row)
        {
            base.Rows.Remove(row);
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CanAddColumn
        {
            get
            {
                return this.columnCanAdd;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CanDeleteColumn
        {
            get
            {
                return this.columnCanDelete;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CanUpdateColumn
        {
            get
            {
                return this.columnCanUpdate;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn CanViewColumn
        {
            get
            {
                return this.columnCanView;
            }
        }

        [DebuggerNonUserCode, Browsable(false)]
        public int Count
        {
            get
            {
                return base.Rows.Count;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.UserPagesRow this[int index]
        {
            get
            {
                return (IP.UserPagesRow) base.Rows[index];
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn PageNameColumn
        {
            get
            {
                return this.columnPageName;
            }
        }

        /*[DebuggerNonUserCode]*/
        public DataColumn UserIdColumn
        {
            get
            {
                return this.columnUserId;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class UserPagesRow : DataRow
    {
        private IP.UserPagesDataTable tableUserPages;

        /*[DebuggerNonUserCode]*/
        internal UserPagesRow(DataRowBuilder rb) : base(rb)
        {
            this.tableUserPages = (IP.UserPagesDataTable) base.Table;
        }

        /*[DebuggerNonUserCode]*/
        public bool CanAdd
        {
            get
            {
                return (bool) base[this.tableUserPages.CanAddColumn];
            }
            set
            {
                base[this.tableUserPages.CanAddColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public bool CanDelete
        {
            get
            {
                return (bool) base[this.tableUserPages.CanDeleteColumn];
            }
            set
            {
                base[this.tableUserPages.CanDeleteColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public bool CanUpdate
        {
            get
            {
                return (bool) base[this.tableUserPages.CanUpdateColumn];
            }
            set
            {
                base[this.tableUserPages.CanUpdateColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public bool CanView
        {
            get
            {
                return (bool) base[this.tableUserPages.CanViewColumn];
            }
            set
            {
                base[this.tableUserPages.CanViewColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public string PageName
        {
            get
            {
                return (string) base[this.tableUserPages.PageNameColumn];
            }
            set
            {
                base[this.tableUserPages.PageNameColumn] = value;
            }
        }

        /*[DebuggerNonUserCode]*/
        public Guid UserId
        {
            get
            {
                return (Guid) base[this.tableUserPages.UserIdColumn];
            }
            set
            {
                base[this.tableUserPages.UserIdColumn] = value;
            }
        }
    }

    [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    public class UserPagesRowChangeEvent : EventArgs
    {
        private DataRowAction eventAction;
        private IP.UserPagesRow eventRow;

        /*[DebuggerNonUserCode]*/
        public UserPagesRowChangeEvent(IP.UserPagesRow row, DataRowAction action)
        {
            this.eventRow = row;
            this.eventAction = action;
        }

        /*[DebuggerNonUserCode]*/
        public DataRowAction Action
        {
            get
            {
                return this.eventAction;
            }
        }

        /*[DebuggerNonUserCode]*/
        public IP.UserPagesRow Row
        {
            get
            {
                return this.eventRow;
            }
        }
    }

    public delegate void UserPagesRowChangeEventHandler(object sender, IP.UserPagesRowChangeEvent e);
}

